class
CName
- Module
- Miri
- Header
#include "Miri/Core/CName.h"- Namespace
Miri
Properties
| Type | Name | Description |
|---|---|---|
bool operator<(const CName& other) | const | |
static const CName | None |
Constructors
| Signature | Name | Description |
|---|---|---|
CName() : m_string(&*GetPool().insert(std::string{}).first) | CName | |
CName(const char* str) : m_string(&*GetPool().insert(std::string(str)).first) | CName | |
CName(const std::string& str) : m_string(&*GetPool().insert(str).first) | CName |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | operator== | |
bool | operator!= | |
const std::string& | ToString | |
size_t | GetHash | |
bool | IsNone |
Function details
CName
C++
CName() : m_string(&*GetPool().insert(std::string{}).first)CName
C++
CName(const char* str) : m_string(&*GetPool().insert(std::string(str)).first)CName
C++
CName(const std::string& str) : m_string(&*GetPool().insert(str).first)operator==
C++
bool operator==(const CName& other) constoperator!=
C++
bool operator!=(const CName& other) constToString
C++
const std::string& ToString() constGetHash
C++
size_t GetHash() constIsNone
C++
bool IsNone() constGenerated from Miri/Core/CName.h via miri.json · Dec 5, 2026Version 1.1.0