SliceO_Class Identification

 

The first part of the class contain the information needed to identify it:

 

Some of these are derived from the parent (SliceO) class:

 

Private:

m_class_a (unsigned short)

 

The exact meaning of the content of "A" depend on the class:

SliceO_Class

The class Type (CLASS_TYPE_ROOT, CLASS_TYPE_FRAME...)

Note: The first 100 values and the value 0xFFFF are reserved for TomoVision.

 

Public:

Class_A_Get

Return the value of the "m_class_a" variable.

 

Class_A_Set

Set the value of the "m_class_a" variable.

 

Private:

m_class_b (unsigned short)

 

The exact meaning of content of "B" depend on the class:

SliceO_Class

Depth in the class database tree

 

Public:

Class_B_Get

Return the value of the "m_class_b" variable.

 

Class_B_Set

Set the value of the "m_class_b" variable.

 

 

Private:

m_name (char *)

 

Name of the class instance

Public:

Name_Get

 

Return the name of the class instance

Name_Set

 

Assign a name to the class instance

 

 

And some are specific to the SliceO_Class class

 

Public:

m_index (unsigned int)

Index of this class instance. It start with 1 and it will be unique for each instances of each class (but they may not be sequential, and there will be holes)

 

Public:

 

Class_Id_Get

 

A method that returns the "Id" of this instance.  The "Id" is composed of both the "Type" and "Level" values:

Id = (type<<16) + level

 

Private:

m_title (char *)

The title of this class.  It can be accessed through: Title_Get() and Title_Set().

 

Public:

Title_Get

A method that returns the title of the class.

 

Title_Set

A method that sets the title of the class.

 

Private:

m_sort (char *)

A string used when sorting the elements of a class.   It can be accessed through: Sort_Get() and Sort_Set().

 

Public:

Sort_Get

A method that returns the sort string of this instance of the class.

 

Sort_Set

A method that sets the sort string of this instance of the class.