#include <Model_coordinate_set_.hpp>
Inheritance diagram for CModel_coordinate_set_Base::C_Coordinates:


Definition at line 108 of file Model_coordinate_set_.hpp.
Public Types | |
| typedef CCoordinates | TLiteral |
| typedef CChem_graph_alignment | TReference |
| enum | E_Choice { e_not_set = 0, e_Literal, e_Reference } |
| Choice variants. More... | |
| enum | E_ChoiceStopper { e_MaxChoice = 3 } |
| Maximum+1 value of the choice variant enumerator. More... | |
Public Member Functions | |
| C_Coordinates (void) | |
| ~C_Coordinates (void) | |
| DECLARE_INTERNAL_TYPE_INFO () | |
| void | Reset (void) |
| Reset the selection (set it to e_not_set). | |
| E_Choice | Which (void) const |
| Which variant is currently selected. | |
| void | CheckSelected (E_Choice index) const |
| Verify selection, throw exception if it differs from the expected. | |
| void | ThrowInvalidSelection (E_Choice index) const |
| Throw 'InvalidSelection' exception. | |
| void | Select (E_Choice index, EResetVariant reset=eDoResetVariant) |
| Select the requested variant if needed. | |
| void | Select (E_Choice index, EResetVariant reset, CObjectMemoryPool *pool) |
| Select the requested variant if needed, allocating CObject variants from memory pool. | |
| bool | IsLiteral (void) const |
| Check if variant Literal is selected. | |
| const TLiteral & | GetLiteral (void) const |
| Get the variant data. | |
| TLiteral & | SetLiteral (void) |
| Select the variant. | |
| void | SetLiteral (TLiteral &value) |
| Select the variant and set its data. | |
| bool | IsReference (void) const |
| Check if variant Reference is selected. | |
| const TReference & | GetReference (void) const |
| Get the variant data. | |
| TReference & | SetReference (void) |
| Select the variant. | |
| void | SetReference (TReference &value) |
| Select the variant and set its data. | |
Static Public Member Functions | |
| static string | SelectionName (E_Choice index) |
| Retrieve selection name (for diagnostic purposes). | |
Private Types | |
| typedef CSerialObject | Tparent |
Private Member Functions | |
| C_Coordinates (const C_Coordinates &) | |
| C_Coordinates & | operator= (const C_Coordinates &) |
| void | DoSelect (E_Choice index, CObjectMemoryPool *pool=0) |
Private Attributes | |
| E_Choice | m_choice |
| NCBI_NS_NCBI::CSerialObject * | m_object |
Static Private Attributes | |
| static const char *const | sm_SelectionNames [] |
|
|
Definition at line 177 of file Model_coordinate_set_.hpp. |
|
|
Definition at line 110 of file Model_coordinate_set_.hpp. |
|
|
Definition at line 178 of file Model_coordinate_set_.hpp. |
|
|
Choice variants.
Definition at line 122 of file Model_coordinate_set_.hpp. |
|
|
Maximum+1 value of the choice variant enumerator.
Definition at line 128 of file Model_coordinate_set_.hpp. |
|
|
Definition at line 152 of file Model_coordinate_set_.cpp. |
|
|
Definition at line 158 of file Model_coordinate_set_.cpp. |
|
|
|
|
|
Verify selection, throw exception if it differs from the expected.
Definition at line 394 of file Model_coordinate_set_.hpp. References m_choice, and ThrowInvalidSelection(). Referenced by GetLiteral(), and GetReference(). |
|
|
|
|
||||||||||||
|
|
|
|
Get the variant data.
Definition at line 97 of file Model_coordinate_set_.cpp. References CheckSelected(), e_Literal, and m_object. |
|
|
Get the variant data.
Definition at line 119 of file Model_coordinate_set_.cpp. References CheckSelected(), e_Reference, and m_object. |
|
|
Check if variant Literal is selected. Literal type is defined as 'typedef CCoordinates TLiteral'.
Definition at line 417 of file Model_coordinate_set_.hpp. |
|
|
Check if variant Reference is selected. Reference type is defined as 'typedef CChem_graph_alignment TReference'.
Definition at line 423 of file Model_coordinate_set_.hpp. References e_Reference, and m_choice. |
|
|
|
|
|
Reset the selection (set it to e_not_set).
Definition at line 53 of file Model_coordinate_set_.cpp. References e_Literal, e_not_set, e_Reference, m_choice, and m_object. Referenced by SetLiteral(), SetReference(), and ~C_Coordinates(). |
|
||||||||||||||||
|
Select the requested variant if needed, allocating CObject variants from memory pool.
|
|
||||||||||||
|
Select the requested variant if needed.
Referenced by SetLiteral(), and SetReference(). |
|
|
Retrieve selection name (for diagnostic purposes).
Definition at line 87 of file Model_coordinate_set_.cpp. References sm_SelectionNames. |
|
|
Select the variant and set its data.
Definition at line 109 of file Model_coordinate_set_.cpp. References CObject::AddReference(), e_Literal, m_choice, m_object, and Reset(). |
|
|
Select the variant.
Definition at line 103 of file Model_coordinate_set_.cpp. References e_Literal, eDoNotResetVariant, m_object, and Select(). |
|
|
Select the variant and set its data.
Definition at line 131 of file Model_coordinate_set_.cpp. References CObject::AddReference(), e_Reference, m_choice, m_object, and Reset(). |
|
|
Select the variant.
Definition at line 125 of file Model_coordinate_set_.cpp. References e_Reference, eDoNotResetVariant, m_object, and Select(). |
|
|
Throw 'InvalidSelection' exception.
Definition at line 92 of file Model_coordinate_set_.cpp. References DIAG_COMPILE_INFO, m_choice, and sm_SelectionNames. Referenced by CheckSelected(). |
|
|
Which variant is currently selected.
Definition at line 388 of file Model_coordinate_set_.hpp. References m_choice. |
|
|
Definition at line 241 of file Model_coordinate_set_.hpp. Referenced by CheckSelected(), IsLiteral(), IsReference(), Reset(), SetLiteral(), SetReference(), ThrowInvalidSelection(), Which(), and ~C_Coordinates(). |
|
|
Definition at line 247 of file Model_coordinate_set_.hpp. Referenced by GetLiteral(), GetReference(), Reset(), SetLiteral(), and SetReference(). |
|
|
Initial value: {
"not set",
"literal",
"reference"
}
Definition at line 245 of file Model_coordinate_set_.hpp. Referenced by SelectionName(), and ThrowInvalidSelection(). |
1.4.6
Modified on Mon Dec 07 16:23:28 2009 by modify_doxy.py rev. 173732