NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members

Search Toolkit Book for CNativeReference_Base::C_E_NativeReference::C_NH

C_NH –. More...

#include <build-system/project_tree_builder/msbuild/NativeReference_.hpp>

+ Inheritance diagram for CNativeReference_Base::C_E_NativeReference::C_NH:
+ Collaboration diagram for CNativeReference_Base::C_E_NativeReference::C_NH:

Public Types

enum  E_Choice { e_not_set = 0 , e_Name , e_HintPath }
 Choice variants. More...
 
enum  E_ChoiceStopper { e_MaxChoice = 3 }
 Maximum+1 value of the choice variant enumerator. More...
 
typedef NCBI_NS_STD::string TName
 
typedef NCBI_NS_STD::string THintPath
 

Public Member Functions

 C_NH (void)
 
 ~C_NH (void)
 
 DECLARE_INTERNAL_TYPE_INFO ()
 
void Reset (void)
 Reset the whole object. More...
 
void ResetSelection (void)
 Reset the selection (set it to e_not_set). More...
 
E_Choice Which (void) const
 Which variant is currently selected. More...
 
void CheckSelected (E_Choice index) const
 Verify selection, throw exception if it differs from the expected. More...
 
void ThrowInvalidSelection (E_Choice index) const
 Throw 'InvalidSelection' exception. More...
 
void Select (E_Choice index, NCBI_NS_NCBI::EResetVariant reset=NCBI_NS_NCBI::eDoResetVariant)
 Select the requested variant if needed. More...
 
void Select (E_Choice index, NCBI_NS_NCBI::EResetVariant reset, NCBI_NS_NCBI::CObjectMemoryPool *pool)
 Select the requested variant if needed, allocating CObject variants from memory pool. More...
 
bool IsName (void) const
 Check if variant Name is selected. More...
 
const TNameGetName (void) const
 Get the variant data. More...
 
TNameSetName (void)
 Select the variant. More...
 
void SetName (const TName &value)
 Select the variant and set its data. More...
 
bool IsHintPath (void) const
 Check if variant HintPath is selected. More...
 
const THintPathGetHintPath (void) const
 Get the variant data. More...
 
THintPathSetHintPath (void)
 Select the variant. More...
 
void SetHintPath (const THintPath &value)
 Select the variant and set its data. More...
 

Static Public Member Functions

static NCBI_NS_STD::string SelectionName (E_Choice index)
 Retrieve selection name (for diagnostic purposes). More...
 

Private Types

typedef NCBI_NS_NCBI::CSerialObject Tparent
 

Private Member Functions

 C_NH (const C_NH &)
 
C_NHoperator= (const C_NH &)
 
void DoSelect (E_Choice index, NCBI_NS_NCBI::CObjectMemoryPool *pool=0)
 

Private Attributes

E_Choice m_choice
 
union {
   NCBI_NS_NCBI::CUnionBuffer< NCBI_NS_STD::string >   CNativeReference_Base::C_E_NativeReference::C_NH::m_string
 
   void *   CNativeReference_Base::C_E_NativeReference::C_NH::m_dummy_pointer_for_alignment
 
}; 
 

Static Private Attributes

static const char *const sm_SelectionNames []
 

Detailed Description

C_NH –.

Definition at line 357 of file NativeReference_.hpp.


The documentation for this class was generated from the following files:
Modified on Tue May 07 08:17:26 2024 by modify_doxy.py rev. 669887