58 m_object->RemoveReference();
70 (m_object =
new(pool) ncbi::CAnyContentObject())->AddReference();
85 return NCBI_NS_NCBI::CInvalidChoiceSelection::GetName(index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
90 throw NCBI_NS_NCBI::CInvalidChoiceSelection(
DIAG_COMPILE_INFO,
this, m_choice, index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
95 CheckSelected(e_AnyContent);
108 if ( m_choice != e_AnyContent || m_object != ptr ) {
110 (m_object = ptr)->AddReference();
111 m_choice = e_AnyContent;
122 SET_NAMESPACE(
"http://schemas.microsoft.com/developer/msbuild/2003")->SetNsQualified(
true);
124 info->CodeVersion(22400);
125 info->DataSpec(ncbi::EDataSpec::eXSD);
151 SET_NAMESPACE(
"http://schemas.microsoft.com/developer/msbuild/2003")->SetNsQualified(
true);
154 info->CodeVersion(22400);
155 info->DataSpec(ncbi::EDataSpec::eXSD);
#define END_msbuild_SCOPE
#define BEGIN_msbuild_SCOPE
User-defined methods of the data storage class.
BEGIN_NAMED_BASE_IMPLICIT_CLASS_INFO("Lib", CLib)
BEGIN_NAMED_CHOICE_INFO("", CLib_Base::C_E)
#define DIAG_COMPILE_INFO
Make compile time diagnostic information object to use in CNcbiDiag and CException.
#define MEMBER_PTR(MemberName)
#define ADD_NAMED_MEMBER(MemberAlias, MemberName, TypeMacro, TypeMacroArgs)
#define ADD_NAMED_REF_CHOICE_VARIANT(MemberAlias, MemberName, ClassName)
#define SET_CLASS_MODULE(ModuleName)
#define SET_NAMESPACE(name)
#define SET_INTERNAL_NAME(OwnerName, MemberName)
#define SET_CHOICE_MODULE(ModuleName)
const TAnyContent & GetAnyContent(void) const
Get the variant data.
static const char *const sm_SelectionNames[]
TAnyContent & SetAnyContent(void)
Select the variant.
NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< C_E > > m_data
void Reset(void)
Reset data member.
void Reset(void)
Reset the whole object.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
static NCBI_NS_STD::string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
NCBI_NS_NCBI::CAnyContentObject TAnyContent
void DoSelect(E_Choice index, NCBI_NS_NCBI::CObjectMemoryPool *pool=0)
void ResetSelection(void)
Reset the selection (set it to e_not_set).
@ e_not_set
No variant selected.
const GenericPointer< typename T::ValueType > T2 value