#include <Karto.h>
Definition at line 354 of file Karto.h.
Constructor
Definition at line 360 of file Karto.h.
karto::Name::Name |
( |
const std::string & |
rName | ) |
|
|
inline |
Constructor
Definition at line 367 of file Karto.h.
karto::Name::Name |
( |
const Name & |
rOther | ) |
|
|
inline |
Constructor
Definition at line 375 of file Karto.h.
virtual karto::Name::~Name |
( |
| ) |
|
|
inlinevirtual |
Destructor
Definition at line 384 of file Karto.h.
const std::string& karto::Name::GetName |
( |
| ) |
const |
|
inline |
Gets the name of this name
- Returns
- name
Definition at line 393 of file Karto.h.
const std::string& karto::Name::GetScope |
( |
| ) |
const |
|
inline |
Gets the scope of this name
- Returns
- scope
Definition at line 417 of file Karto.h.
kt_bool karto::Name::IsValid |
( |
char |
c | ) |
|
|
inlineprivate |
Whether the character is a valid character (alphanumeric, /, _, or -)
- Parameters
-
- Returns
- true if the character is valid
Definition at line 573 of file Karto.h.
kt_bool karto::Name::IsValidFirst |
( |
char |
c | ) |
|
|
inlineprivate |
Whether the character is valid as a first character (alphanumeric or /)
- Parameters
-
- Returns
- true if the character is a valid first character
Definition at line 563 of file Karto.h.
kt_bool karto::Name::operator!= |
( |
const Name & |
rOther | ) |
const |
|
inline |
Inequality operator.
Definition at line 479 of file Karto.h.
kt_bool karto::Name::operator< |
( |
const Name & |
rOther | ) |
const |
|
inline |
Less than operator.
Definition at line 487 of file Karto.h.
Name& karto::Name::operator= |
( |
const Name & |
rOther | ) |
|
|
inline |
Assignment operator.
Definition at line 457 of file Karto.h.
kt_bool karto::Name::operator== |
( |
const Name & |
rOther | ) |
const |
|
inline |
Equality operator.
Definition at line 471 of file Karto.h.
void karto::Name::Parse |
( |
const std::string & |
rName | ) |
|
|
inlineprivate |
Parse the given string into a Name object
- Parameters
-
Definition at line 508 of file Karto.h.
void karto::Name::SetName |
( |
const std::string & |
rName | ) |
|
|
inline |
Sets the name
- Parameters
-
Definition at line 402 of file Karto.h.
void karto::Name::SetScope |
( |
const std::string & |
rScope | ) |
|
|
inline |
Sets the scope of this name
- Parameters
-
Definition at line 426 of file Karto.h.
std::string karto::Name::ToString |
( |
| ) |
const |
|
inline |
Returns a string representation of this name
- Returns
- string representation of this name
Definition at line 435 of file Karto.h.
void karto::Name::Validate |
( |
const std::string & |
rName | ) |
|
|
inlineprivate |
Validates the given string as a Name
- Parameters
-
Definition at line 533 of file Karto.h.
std::ostream& operator<< |
( |
std::ostream & |
rStream, |
|
|
const Name & |
rName |
|
) |
| |
|
friend |
Write Name onto output stream
- Parameters
-
rStream | output stream |
rName | to write |
Definition at line 497 of file Karto.h.
std::string karto::Name::m_Name |
|
private |
std::string karto::Name::m_Scope |
|
private |
The documentation for this class was generated from the following file: