#include <OCDM.h>
Inheritance diagram for OCDM_ByteSequence:
Public Member Functions | |
OCDM_ByteSequence () | |
OCDM_ByteSequence (const CDM_Object obj) | |
OCDM_ByteSequence (const class OCDM_ByteSequence &obj) | |
OCDM_ByteSequence (const char *str) | |
This is the main constructor of the OCDM_ByteSequence class. | |
OCDM_ByteSequence (const char *str, const int len) | |
This is the main constructor of the OCDM_ByteSequence class. | |
OCDM_ByteSequence & | operator= (const class OCDM_Object &obj) |
This is the default assignment operator. | |
void | Set (const char *str) |
Set the object to hold a particular string. | |
void | Set (const char *str, const int len) |
Set the object to hold a particular string. | |
long | length (void) const |
This function returns the number of characters contained in the object. | |
OCDM_BOOL | toUpper (void) const |
Changes every character in the object to upper-case. | |
OCDM_BOOL | toLower (void) const |
Changes every character in the object to upper-case. | |
OCDM_BOOL | toTitle (void) const |
Changes every character in the object to upper-case. | |
const char * | objectType (void) const |
OCDM_ByteSequence | ( | const CDM_Object | obj | ) |
OCDM_ByteSequence | ( | const class OCDM_ByteSequence & | obj | ) |
OCDM_ByteSequence | ( | const char * | str | ) |
str:
a pointer to a NULL terminated string that will be copied as the object's value. OCDM_ByteSequence | ( | const char * | str, | |
const int | len | |||
) |
str:
a pointer to a string that will be copied as the object's value. len:
an integer specifying the number of bytes to be copied from str
.
class OCDM_ByteSequence& operator= | ( | const class OCDM_Object & | obj | ) | [virtual] |
obj:
the object to be copied. Reimplemented from OCDM_Object.
Reimplemented in OCDM_ByteSequenceSet.
void Set | ( | const char * | str | ) |
str:
a pointer to a NULL terminated string that will be copied as the object's value. void Set | ( | const char * | str, | |
const int | len | |||
) |
str:
a pointer to a NULL terminated string that will be copied as the object's value. len:
an integer specifying the number of bytes to be copied from str
. long length | ( | void | ) | const |
OCDM_BOOL toUpper | ( | void | ) | const |
OCDM_BOOL toLower | ( | void | ) | const |
OCDM_BOOL toTitle | ( | void | ) | const |
const char* objectType | ( | void | ) | const [virtual] |
This method returns the type of the object as a string.
Reimplemented from OCDM_Object.
Reimplemented in OCDM_ByteSequenceSet.