#include <OCDM.h>
Inheritance diagram for OCDM_SpanSet:
Public Member Functions | |
OCDM_SpanSet () | |
OCDM_SpanSet (const CDM_Object obj) | |
OCDM_SpanSet (const class OCDM_SpanSet &obj) | |
OCDM_SpanSet (const long start, const long end) | |
This function will create a new SpanSet object. | |
OCDM_SpanSet & | operator= (const class OCDM_Object &obj) |
This is the default assignment operator. | |
OCDM_INDEX_OPERATOR_REF (OCDM_Span) operator[](const long index) const | |
void | AddSpan (const OCDM_Span &Span) |
It appends the given Span to the Span set object in use. | |
const char * | objectType (void) const |
OCDM_SpanSet | ( | ) |
OCDM_SpanSet | ( | const CDM_Object | obj | ) |
OCDM_SpanSet | ( | const class OCDM_SpanSet & | obj | ) |
OCDM_SpanSet | ( | const long | start, | |
const long | end | |||
) |
start:
The starting value of the span object. end:
The ending value of the span object.
class OCDM_SpanSet& operator= | ( | const class OCDM_Object & | obj | ) | [virtual] |
obj:
the object to be copied. Reimplemented from OCDM_Object.
OCDM_INDEX_OPERATOR_REF | ( | OCDM_Span | ) | const |
void AddSpan | ( | const OCDM_Span & | obj | ) |
Span:
The span object to be appended to the span set object in use. const char* objectType | ( | void | ) | const [virtual] |
This method returns the type of the object as a string.
Reimplemented from OCDM_Object.