#include <Tag.h>
Basically a Tag is defined by :
Public Member Functions | |
Tag () | |
Tag (unsigned int i) | |
Tag (unsigned int i, const TagType *t) | |
Tag (const Tag &t) | |
Tag (IDLTag &t) | |
string | toString () const |
void | toBin (EndianOSStream &eoss) |
virtual | ~Tag () |
TagType * | getTagType () |
unsigned int | getTagValue () |
IDLTag | toIDLTag () const |
string | getTag () const |
Tag & | operator= (const Tag &) |
bool | equals (const Tag &t) const |
bool | operator== (const Tag &t) const |
bool | operator!= (const Tag &t) const |
bool | operator< (const Tag &t) const |
bool | isNull () const |
Static Public Member Functions | |
Tag | parseTag (string s) |
void | toBin (const vector< Tag > &tag, EndianOSStream &eoss) |
Tag | fromBin (EndianISStream &eiss) |
vector< Tag > | from1DBin (EndianISStream &eiss) |
Protected Attributes | |
string | tag |
TagType * | type |
|
Create a default Tag that is null |
|
Create a Tag from an integer value.
|
|
Create a Tag from an integer value and a TagType
|
|
|
Create a Tag from an IDLTag object.
|
|
The Tag destructor. |
|
|
|
Read the binary representation of a of a vector of Tag from an EndianISStream and use the read value to set a vector of Tag.
|
|
Read the binary representation of a Tag from a EndianISStream. and use the read value to set a Tag.
|
|
Return this Tag value as a string.
|
|
Returns the type of this Tag.
|
|
Returns the value of this Tag. The returned value has no meaning if the Tag is null.
|
|
Return true if and only if this Tag is null, i.e. if its TagType field is null.
|
|
|
|
|
|
Assignment operator. |
|
|
|
Create a Tag whose initial value is the specified string.
|
|
Write the binary representation of a 1D array of Tag to an EndianOSStream.
|
|
Write the binary representation of this to a EndianOSStream. |
|
Returns a IDLTag object built from this Tag.
|
|
Return the Tag as a String. The resulting string consists in the string representation of the type followed by an underscore followed by the String representation of the value. Examples : "Antenna_12", "SpectralWindow_0".
|