m_object->RemoveReference();
72(m_object =
new(pool) ncbi::objects::CMarkov_chain_params())->
AddReference();
91 returnNCBI_NS_NCBI::CInvalidChoiceSelection::GetName(index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
96 throwNCBI_NS_NCBI::CInvalidChoiceSelection(
DIAG_COMPILE_INFO,
this, m_choice, index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
101CheckSelected(e_Prev_order);
102 return*
static_cast<const TPrev_order*
>(m_object);
114 if( m_choice != e_Prev_order || m_object != ptr ) {
117m_choice = e_Prev_order;
130 info->CodeVersion(22400);
131 info->DataSpec(ncbi::EDataSpec::eASN);
165 info->RandomOrder();
166 info->CodeVersion(22400);
167 info->DataSpec(ncbi::EDataSpec::eASN);
User-defined methods of the data storage class.
BEGIN_NAMED_BASE_CLASS_INFO("Markov-chain-params", CMarkov_chain_params)
BEGIN_NAMED_CHOICE_INFO("", CMarkov_chain_params_Base::C_E_Probabilities)
CMarkov_chain_params â.
#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 ADD_NAMED_STD_MEMBER(MemberAlias, MemberName)
#define SET_CLASS_MODULE(ModuleName)
#define ADD_NAMED_STD_CHOICE_VARIANT(MemberAlias, MemberName)
#define SET_INTERNAL_NAME(OwnerName, MemberName)
#define SET_CHOICE_MODULE(ModuleName)
void AddReference(void) const
Add reference to object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
E_Choice
Choice variants.
void Reset(void)
Reset the whole object.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
void ResetOrder(void)
Reset Order data member.
list< CRef< C_E_Probabilities > > m_Probabilities
TPrev_order & SetPrev_order(void)
Select the variant.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
const TPrev_order & GetPrev_order(void) const
Get the variant data.
void ResetProbabilities(void)
Reset Probabilities data member.
virtual ~CMarkov_chain_params_Base(void)
CMarkov_chain_params_Base(void)
static const char *const sm_SelectionNames[]
virtual void Reset(void)
Reset the whole object.
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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4