#include <OCDM.h>
Inheritance diagram for OCDM_Span:
Public Member Functions | |
OCDM_Span () | |
OCDM_Span (const CDM_Object obj) | |
OCDM_Span (const class OCDM_Span &obj) | |
OCDM_Span (const long start, const long end) | |
This function will create a Span object having the start and end values defined in the parameters. | |
OCDM_Span & | operator= (const class OCDM_Object &obj) |
This is the default assignment operator. | |
long | GetStart (void) const |
This function returns the start of the span object in use. | |
long | GetEnd (void) const |
This function returns the end of the span object in use. | |
int | GetSpanOffsets (long &start, long &end) const |
const char * | objectType (void) const |
OCDM_Span | ( | ) |
OCDM_Span | ( | const CDM_Object | obj | ) |
OCDM_Span | ( | const long | start, | |
const long | end | |||
) |
start:
The starting value of the Span object to be created. end:
The ending value of the Span object to be created.
class OCDM_Span& operator= | ( | const class OCDM_Object & | obj | ) | [virtual] |
obj:
the object to be copied. Reimplemented from OCDM_Object.
long GetStart | ( | void | ) | const |
long GetEnd | ( | void | ) | const |
int GetSpanOffsets | ( | long & | start, | |
long & | end | |||
) | const |
This function will place the values of the both span start and end of the span object in use, in the two specified long integer pointers.
const char* objectType | ( | void | ) | const [virtual] |
This method returns the type of the object as a string.
Reimplemented from OCDM_Object.