|
Public Member Functions |
| OCDM_Collection () |
| This is a null constructor of an OCDM_Document Object.
|
| OCDM_Collection (const char *name) |
| This is the overloaded version of the above constructor with a different usability.
|
| OCDM_Collection (const class OCDM_Collection &obj) |
| This is the default Copy constructor.
|
| OCDM_Collection (const char *name, const OCDM_AttributeSet &AttrSet, const char *encoding) |
| This is a constructor of the class OCDM_Collection.
|
| OCDM_Collection (const CDM_Collection) |
| A constructor that maps a CDM_Collection to an OCDM_Collection object.
|
| ~OCDM_Collection () |
| This is the destructor of the OCDM_Collection Class.
|
OCDM_Collection & | operator= (const class OCDM_Collection &obj) |
| This is the default Assignment operator.
|
void | storeObject (const class OCDM_Object *objPtr) const |
void | storeObject (const class OCDM_Document *objPtr) const |
const class OCDM_Object * | getStoredObject (void) const |
void | releaseStoredObject (void) const |
OCDM_BOOL | AttributeExists (const char *name) const |
| This function will return true if an Attribute with the specified name exists in the Collection object.
|
void | CreateDocument (const char *XID, const OCDM_ByteSequence &RawData, const OCDM_AnnotationSet &Annotations, const OCDM_AttributeSet &Attributes, const char *encoding) |
| This function creates a new Document object in an existing Collection object.
|
void | CreateDocument (const char *XID, const OCDM_ByteSequence &RawData, const OCDM_AnnotationSet &Annotations, const OCDM_AttributeSet &Attributes) |
int | Length (void) const |
| This function will return the Length (the number of all the Documents) of the specified Collection.
|
| OCDM_REF (OCDM_Attribute) GetAttribute(const char *name) const |
| OCDM_REF (OCDM_AttributeSet) GetAttributes(void) const |
int | PutAttribute (const OCDM_Attribute &Attr) |
const char * | GetName (void) const |
| This function will return the Name of the specified Collection.
|
int | RemoveAttribute (const char *name) |
const char * | GetEncoding (void) const |
const char * | SetEncoding (const char *encoding) |
| OCDM_REF (OCDM_ByteSequence) Status(void) const |
int | Sync (void) const |
int | AnnotateColection (void) |
int | Destroy (const char *name) |
| OCDM_REF (OCDM_Document) FirstDocument(void) const |
| OCDM_REF (OCDM_Document) GetByExternalId(const char *XID) const |
| OCDM_REF (OCDM_Document) GetDocument(const char *ID) const |
| OCDM_REF (OCDM_Document) NextDocument(void) const |
const char * | GetOwner (void) const |
int | RemoveDocument (const char *Id) |
const char * | SetName (const char *Name) |
const char * | SetOwner (const char *Owner) |
int | SetAssociatedInfo (const OCDM_ByteSequence &Info) |
void | Log (const char *str,...) const |
| This method logs information. It is equivalent to OCDM_Utilities::Log().
|
long | size (void) const |
| This function returns the number of Documents contained in the Collection object.
|
OCDM_BOOL | Valid (void) const |
const char * | toString (void) const |
const char * | objectType (void) const |