|
| | BlobURI (const Str &component, const char *elementName, const Unit &unit, BlobType blobType, unsigned short dimension1, unsigned short dimension2=0, unsigned short dimension3=0) |
| |
| | BlobURI (const Str &component, const char *elementName, const char *description, const Unit &unit, BlobType blobType, unsigned short dimension1, unsigned short dimension2=0, unsigned short dimension3=0) |
| |
| | ElementURI (const char *component, const char *elementName, ElementType=BASE_ELEMENT, const Unit &unit=UNSPECIFIED_UNIT, BinaryDataType binaryType=NO_TYPE, BlobType blobType=NOT_BLOB, unsigned short dimension1=0, unsigned short dimension2=0, unsigned short dimension3=0) |
| |
| | ElementURI (const Str &component, const char *elementName, ElementType=BASE_ELEMENT, const Unit &unit=UNSPECIFIED_UNIT, BinaryDataType binaryType=NO_TYPE, BlobType blobType=NOT_BLOB, unsigned short dimension1=0, unsigned short dimension2=0, unsigned short dimension3=0) |
| |
| | ElementURI (const Str &component, const char *elementName, const char *description, ElementType=BASE_ELEMENT, const Unit &unit=UNSPECIFIED_UNIT, BinaryDataType binaryType=NO_TYPE, BlobType blobType=NOT_BLOB, unsigned short dimension1=0, unsigned short dimension2=0, unsigned short dimension3=0) |
| |
| | ElementURI (const Str &component, const Str &elementName, ElementType=BASE_ELEMENT, const Unit &unit=UNSPECIFIED_UNIT, BinaryDataType binaryType=NO_TYPE, BlobType blobType=NOT_BLOB, unsigned short dimension1=0, unsigned short dimension2=0, unsigned short dimension3=0) |
| |
| | ElementURI (const ElementURI &src) |
| |
| virtual | ~ElementURI () |
| | Destructor. More...
|
| |
| | operator const Str & (void) const |
| |
| unsigned short | getCode () const |
| |
| void | setCode (unsigned short code) |
| |
| virtual bool | isUniversal () const |
| |
| const Unit & | getUnit () const |
| |
| BinaryDataType | getBinaryType () const |
| |
| ElementType | getElementType () const |
| |
| unsigned int | write (OutStream &outStream) |
| |
| const Str | buildURI (const char *component, const char *elementName) |
| |
| const Str | buildURI (const Str &component, const char *elementName) |
| |
| const Str | buildURI (const Str &component, const Str &elementName) |
| |
| BlobType | getBlobType () const |
| |
| int | getDimensions () const |
| |
| const unsigned short | getDimension1 () const |
| |
| const unsigned short | getDimension2 () const |
| |
| const unsigned short | getDimension3 () const |
| |
| | Str (const char *str=NULL, size_t length=NO_POS) |
| | char* constructor Unit tests in Str_Test.testConstructorCharStar More...
|
| |
| | Str (const Str &str, const size_t offset=0, size_t count=NO_POS) |
| | copy constructor Unit tests in Str_Test.testCopyConstructor More...
|
| |
| | Str (const bool var) |
| | bool constructor Unit tests in Str_Test.testBoolConstructor More...
|
| |
| | Str (const double var, unsigned int precision=6) |
| | double constructor Unit tests in Str_Test.testDoubleConstructor More...
|
| |
| | Str (const int var, unsigned int radix=10, unsigned int radixOffset=0) |
| | int constructor Unit tests in Str_Test.testIntConstructor More...
|
| |
| | Str (const size_t var, unsigned int radix=16) |
| | size_t constructor Unit tests in Str_Test.testUnsignedIntConstructor More...
|
| |
| virtual | ~Str () |
| | destructor More...
|
| |
| Str & | set (const char *str=NULL, size_t length=NO_POS) |
| |
| Str & | operator= (const char *str) |
| |
| Str & | operator= (const Str &str) |
| |
| Str & | operator= (const double var) |
| |
| Str | substr (const size_t offset, size_t count=NO_POS) const |
| |
| char | operator[] (const size_t index) const |
| |
| Str & | operator+= (const bool str) |
| |
| Str & | operator+= (const unsigned char str) |
| |
| Str & | operator+= (const double str) |
| |
| Str & | operator+= (const int str) |
| |
| Str & | operator+= (const size_t str) |
| |
| Str & | operator+= (const char *str) |
| |
| Str & | operator+= (const Str &str) |
| |
| Str & | append (const Str &str) |
| |
| Str & | append (const char *str, size_t length) |
| |
| Str & | pushBack (const unsigned char str) |
| |
| Str & | operator<< (const bool str) |
| |
| Str & | operator<< (const unsigned char str) |
| |
| Str & | operator<< (const double str) |
| |
| Str & | operator<< (const int str) |
| |
| Str & | operator<< (const size_t str) |
| |
| Str & | operator<< (const char *str) |
| |
| Str & | operator<< (const Str &str) |
| |
| bool | operator!= (const Str &str) const |
| |
| bool | operator!= (const char *str) const |
| |
| int | compare (const Str &str) const |
| |
| int | compare (const char *str) const |
| |
| bool | operator== (const Str &str) const |
| |
| bool | operator== (const char *str) const |
| |
| bool | operator< (const Str &str) const |
| |
| const char * | cStr () const |
| |
| const char * | data () const |
| |
| size_t | length () const |
| |
| size_t | size () const |
| |
| size_t | findLastOf (const unsigned char str) const |
| | returns the position of the specified character in the string, looking from the end of the string towards the beginning. More...
|
| |
| size_t | findLastOf (const char *str) const |
| | returns the position of the specified character string in the string, looking from the end of the string towards the beginning. More...
|
| |
| size_t | find (const unsigned char str, size_t offset=0) const |
| |
| size_t | find (const char *str, size_t offset=0) const |
| |
| size_t | find (const Str &str, size_t offset=0) const |
| |
| bool | startsWith (const char *str, size_t length=NO_POS) const |
| |
| bool | startsWith (const Str &str) const |
| |
| bool | endsWith (const Str &str) const |
| |
| bool | setChar (size_t index, const unsigned char theChar) |
| |
| void | replaceChar (const char replace, const char replaceWith) |
| |
| Str * | split (int &num, const char *splitSpec, size_t length=NO_POS) const |
| |
| Str * | split (int &num, const Str str) const |
| |
| Str | asHex () const |
| | Return a new Str, with a hex representation of each character of this string. More...
|
| |
|
| enum | ElementType {
BASE_ELEMENT = 0,
CONFIG_ELEMENT = 1,
DATA_ELEMENT = 2,
SETTING_ELEMENT = 3,
UNIVERSAL_ELEMENT = 4,
BLOB_VALUE_FLAG = 0x10
} |
| |
| static ElementURI * | FindURI (const Str &str) |
| |
| static ElementURI * | FindURI (const char *str) |
| |
| static ElementURI * | Read (InStream &inStream) |
| |
| static ElementURI | Create (const Str &component, const Str &elementName) |
| |
| static size_t | FindLastOf (const char *str, const unsigned char theChar, size_t length=NO_POS) |
| |
| static size_t | Find (const char *str, const unsigned char theChar, size_t length=NO_POS) |
| |
| static unsigned int | IntToAscii (int value, char *str, unsigned int base, unsigned int bufSize, unsigned int baseOffset=0) |
| | convert an integer to a string, returns the length of the string Unit tests in Str_Test.testIntToAscii More...
|
| |
| static const unsigned short | NUM_CODES = 0x3FFF |
| |
| static const unsigned short | NO_CODE = 0x3FFF |
| |
| static const unsigned short | SELF_CODE = 0xFFFF |
| |
| static const Unit | UNSPECIFIED_UNIT |
| |
| static const size_t | NO_POS |
| | static constants More...
|
| |
| static const size_t | MAX_LEN |
| |
| static const Str | EMPTY_STR |
| |
| static char | NoChars_ [1] = "" |
| |
| | ElementURI (unsigned short code, const char *component, const char *elementName, ElementType=BASE_ELEMENT, const Unit &unit=UNSPECIFIED_UNIT, BinaryDataType binaryType=NO_TYPE, BlobType blobType=NOT_BLOB, unsigned short dimension1=0, unsigned short dimension2=0, unsigned short dimension3=0) |
| |
| virtual void | intoString (const double var, unsigned int precision=10) |
| |
| virtual void | intoString (int var, unsigned int radix, unsigned int radixOffset=0) |
| |
| ElementType | elementType_ |
| |
| const Unit & | unit_ |
| |
| BinaryDataType | binaryType_ |
| |
| unsigned short | code_ |
| |
| BlobType | blobType_ |
| |
| const unsigned short | dimension1_ |
| |
| const unsigned short | dimension2_ |
| |
| const unsigned short | dimension3_ |
| |
| size_t | length_ |
| |
| char * | chars_ |
| |