|
Jpp
|
ControlHost tag. More...
#include <JTag.hh>
Public Member Functions | |
| JTag () | |
| Default constructor. More... | |
| JTag (const JTag &tag) | |
| Copy constructor. More... | |
| JTag (const std::string &tag) | |
| Constructor. More... | |
| JTag (const JTag_t id) | |
| Constructor. More... | |
| const JTag & | getTag () const |
| Get tag. More... | |
| JTag & | getTag () |
| Get tag. More... | |
| void | setTag (const JTag &tag) |
| Set tag. More... | |
| void | setTag (const std::string &tag) |
| Set tag. More... | |
| JTag_t | getID () const |
| Get identifier. More... | |
| bool | setID (const JTag_t id) |
| Set identifier. More... | |
| std::string | toString () const |
| Convert tag to string. More... | |
| operator std::string () const | |
| Type conversion operators. More... | |
| const char * | c_str () const |
| C-string. More... | |
| const char | operator[] (int i) const |
| Get character. More... | |
Protected Attributes | |
| union { | |
| char tag [TAGSIZE] | |
| JTag_t id | |
| }; | |
Friends | |
| std::istream & | operator>> (std::istream &in, JTag &object) |
| Read JTag from input stream. More... | |
| std::ostream & | operator<< (std::ostream &out, const JTag &object) |
| Write JTag to output stream. More... | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get tag.
|
inline |
|
inline |
|
inline |
Get identifier.
|
inline |
Set identifier.
|
inline |
|
inline |
|
inline |
C-string.
|
inline |
Get character.
| i | index |
|
friend |
|
friend |
| union { ... } |
1.8.5