NCBI C++ ToolKit
|
Search Toolkit Book for CProjectLevelTagExceptTargetOrImportType_Base
CProjectLevelTagExceptTargetOrImportType_Base –. More...
#include <build-system/project_tree_builder/msbuild/ProjectLevelTagExceptTarge_.hpp>
Public Types | |
enum | E_Choice { e_not_set = 0 , e_PropertyGroup , e_ItemGroup , e_ItemDefinitionGroup , e_UsingTask , e_ProjectExtensions } |
Choice variants. More... | |
enum | E_ChoiceStopper { e_MaxChoice = 6 } |
Maximum+1 value of the choice variant enumerator. More... | |
typedef CPropertyGroup | TPropertyGroup |
typedef CItemGroup | TItemGroup |
typedef CItemDefinitionGroup | TItemDefinitionGroup |
typedef CUsingTask | TUsingTask |
typedef CProjectExtensions | TProjectExtensions |
Public Member Functions | |
CProjectLevelTagExceptTargetOrImportType_Base (void) | |
virtual | ~CProjectLevelTagExceptTargetOrImportType_Base (void) |
DECLARE_INTERNAL_TYPE_INFO () | |
virtual void | Reset (void) |
Reset the whole object. More... | |
virtual 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 | IsPropertyGroup (void) const |
Check if variant PropertyGroup is selected. More... | |
const TPropertyGroup & | GetPropertyGroup (void) const |
Get the variant data. More... | |
TPropertyGroup & | SetPropertyGroup (void) |
Select the variant. More... | |
void | SetPropertyGroup (TPropertyGroup &value) |
Select the variant and set its data. More... | |
bool | IsItemGroup (void) const |
Check if variant ItemGroup is selected. More... | |
const TItemGroup & | GetItemGroup (void) const |
Get the variant data. More... | |
TItemGroup & | SetItemGroup (void) |
Select the variant. More... | |
void | SetItemGroup (TItemGroup &value) |
Select the variant and set its data. More... | |
bool | IsItemDefinitionGroup (void) const |
Check if variant ItemDefinitionGroup is selected. More... | |
const TItemDefinitionGroup & | GetItemDefinitionGroup (void) const |
Get the variant data. More... | |
TItemDefinitionGroup & | SetItemDefinitionGroup (void) |
Select the variant. More... | |
void | SetItemDefinitionGroup (TItemDefinitionGroup &value) |
Select the variant and set its data. More... | |
bool | IsUsingTask (void) const |
Check if variant UsingTask is selected. More... | |
const TUsingTask & | GetUsingTask (void) const |
Get the variant data. More... | |
TUsingTask & | SetUsingTask (void) |
Select the variant. More... | |
void | SetUsingTask (TUsingTask &value) |
Select the variant and set its data. More... | |
bool | IsProjectExtensions (void) const |
Check if variant ProjectExtensions is selected. More... | |
const TProjectExtensions & | GetProjectExtensions (void) const |
Get the variant data. More... | |
TProjectExtensions & | SetProjectExtensions (void) |
Select the variant. More... | |
void | SetProjectExtensions (TProjectExtensions &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 | |
CProjectLevelTagExceptTargetOrImportType_Base (const CProjectLevelTagExceptTargetOrImportType_Base &) | |
CProjectLevelTagExceptTargetOrImportType_Base & | operator= (const CProjectLevelTagExceptTargetOrImportType_Base &) |
void | DoSelect (E_Choice index, NCBI_NS_NCBI::CObjectMemoryPool *pool=0) |
Private Attributes | |
E_Choice | m_choice |
NCBI_NS_NCBI::CSerialObject * | m_object |
Static Private Attributes | |
static const char *const | sm_SelectionNames [] |
CProjectLevelTagExceptTargetOrImportType_Base –.
Definition at line 74 of file ProjectLevelTagExceptTarge_.hpp.