54 CTaxon2_data::TOrgProperties::iterator
65 CTaxon2_data::TOrgProperties::const_iterator
82 (*i)->SetTag().SetStr(
value );
98 (*i)->SetTag().SetId(
value );
101 pProp->
SetDb( name );
111 if( !name.empty() ) {
114 (*i)->SetTag().SetId(
value ? 1 : 0 );
117 pProp->
SetDb( name );
127 if( !name.empty() ) {
129 if(
i !=
m_props.end() && (*i)->IsSetTag() ) {
130 switch( (*i)->GetTag().Which() ) {
143 if( !name.empty() ) {
145 if(
i !=
m_props.end() && (*i)->IsSetTag() ) {
146 switch( (*i)->GetTag().Which() ) {
159 if( !name.empty() ) {
161 if(
i !=
m_props.end() && (*i)->IsSetTag() ) {
162 switch( (*i)->GetTag().Which() ) {
User-defined methods of the data storage class.
void ResetProperty(const string &name)
TOrgProperties::const_iterator x_FindPropertyConst(const string &name) const
bool GetProperty(const string &name, string &value) const
void SetProperty(const string &name, const string &value)
TOrgProperties::iterator x_FindProperty(const string &name)
list< CRef< CDbtag > > TOrgProperties
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
#define NON_CONST_ITERATE(Type, Var, Cont)
Non constant version of ITERATE macro.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool StringToBool(const CTempString str)
Convert string to bool.
static int StringToInt(const CTempString str, TStringToNumFlags flags=0, int base=10)
Convert string to int.
static string IntToString(int value, TNumToStringFlags flags=0, int base=10)
Convert int to string.
static bool Equal(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2, ECase use_case=eCase)
Test for equality of a substring with another string.
@ fConvErr_NoThrow
Do not throw an exception on error.
void SetTag(TTag &value)
Assign a value to Tag data member.
void SetDb(const TDb &value)
Assign a value to Db data member.