NCBI C++ ToolKit
|
Search Toolkit Book for CResource_Base::C_E_Resource::C_DGLCLGSC
#include <build-system/project_tree_builder/msbuild/Resource_.hpp>
Public Types | |
enum | E_Choice { e_not_set = 0 , e_DependentUpon , e_Generator , e_LastGenOutput , e_CustomToolNamespace , e_Link , e_Group , e_SubType , e_CopyToOutputDirectory } |
Choice variants. More... | |
enum | E_ChoiceStopper { e_MaxChoice = 9 } |
Maximum+1 value of the choice variant enumerator. More... | |
typedef NCBI_NS_STD::string | TDependentUpon |
typedef NCBI_NS_STD::string | TGenerator |
typedef NCBI_NS_STD::string | TLastGenOutput |
typedef NCBI_NS_STD::string | TCustomToolNamespace |
typedef NCBI_NS_STD::string | TLink |
typedef NCBI_NS_STD::string | TGroup |
typedef NCBI_NS_STD::string | TSubType |
typedef NCBI_NS_STD::string | TCopyToOutputDirectory |
Public Member Functions | |
C_DGLCLGSC (void) | |
~C_DGLCLGSC (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 | IsDependentUpon (void) const |
Check if variant DependentUpon is selected. More... | |
const TDependentUpon & | GetDependentUpon (void) const |
Get the variant data. More... | |
TDependentUpon & | SetDependentUpon (void) |
Select the variant. More... | |
void | SetDependentUpon (const TDependentUpon &value) |
Select the variant and set its data. More... | |
bool | IsGenerator (void) const |
Check if variant Generator is selected. More... | |
const TGenerator & | GetGenerator (void) const |
Get the variant data. More... | |
TGenerator & | SetGenerator (void) |
Select the variant. More... | |
void | SetGenerator (const TGenerator &value) |
Select the variant and set its data. More... | |
bool | IsLastGenOutput (void) const |
Check if variant LastGenOutput is selected. More... | |
const TLastGenOutput & | GetLastGenOutput (void) const |
Get the variant data. More... | |
TLastGenOutput & | SetLastGenOutput (void) |
Select the variant. More... | |
void | SetLastGenOutput (const TLastGenOutput &value) |
Select the variant and set its data. More... | |
bool | IsCustomToolNamespace (void) const |
Check if variant CustomToolNamespace is selected. More... | |
const TCustomToolNamespace & | GetCustomToolNamespace (void) const |
Get the variant data. More... | |
TCustomToolNamespace & | SetCustomToolNamespace (void) |
Select the variant. More... | |
void | SetCustomToolNamespace (const TCustomToolNamespace &value) |
Select the variant and set its data. More... | |
bool | IsLink (void) const |
Check if variant Link is selected. More... | |
const TLink & | GetLink (void) const |
Get the variant data. More... | |
TLink & | SetLink (void) |
Select the variant. More... | |
void | SetLink (const TLink &value) |
Select the variant and set its data. More... | |
bool | IsGroup (void) const |
Check if variant Group is selected. More... | |
const TGroup & | GetGroup (void) const |
Get the variant data. More... | |
TGroup & | SetGroup (void) |
Select the variant. More... | |
void | SetGroup (const TGroup &value) |
Select the variant and set its data. More... | |
bool | IsSubType (void) const |
Check if variant SubType is selected. More... | |
const TSubType & | GetSubType (void) const |
Get the variant data. More... | |
TSubType & | SetSubType (void) |
Select the variant. More... | |
void | SetSubType (const TSubType &value) |
Select the variant and set its data. More... | |
bool | IsCopyToOutputDirectory (void) const |
Check if variant CopyToOutputDirectory is selected. More... | |
const TCopyToOutputDirectory & | GetCopyToOutputDirectory (void) const |
Get the variant data. More... | |
TCopyToOutputDirectory & | SetCopyToOutputDirectory (void) |
Select the variant. More... | |
void | SetCopyToOutputDirectory (const TCopyToOutputDirectory &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_DGLCLGSC (const C_DGLCLGSC &) | |
C_DGLCLGSC & | operator= (const C_DGLCLGSC &) |
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 > CResource_Base::C_E_Resource::C_DGLCLGSC::m_string | |
void * CResource_Base::C_E_Resource::C_DGLCLGSC::m_dummy_pointer_for_alignment | |
}; | |
Static Private Attributes | |
static const char *const | sm_SelectionNames [] |
C_DGLCLGSC –.
Definition at line 357 of file Resource_.hpp.