((*it)->IsSetLabel() && (*it)->GetLabel().IsStr() &&
NStr::EqualNocase(m_FieldName, (*it)->GetLabel().GetStr())) {
63(*it)->SetData().SetStr(newValue);
69new_field->
SetLabel().SetStr(m_FieldName);
70new_field->
SetData().SetStr(newValue);
71user_object.SetData().push_back(new_field);
80CUser_object::TData::iterator it = user_object.
SetData().begin();
81 while(it != user_object.
SetData().end()) {
83it = user_object.
SetData().erase(it);
96 if((*it)->GetData().IsStr()) {
97 val= (*it)->GetData().GetStr();
125 if((*it)->IsSetLabel() && (*it)->GetLabel().IsStr()) {
Include a standard set of the NCBI C++ Toolkit most basic headers.
The NCBI C++ standard methods for dealing with std::string.
#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 END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
static bool IsBlank(const CTempString str, SIZE_TYPE pos=0)
Check if a string is blank (has no text).
static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive equality of a substring with another string.
bool IsSetData(void) const
the object itself Check if a value has been assigned to Data data member.
TData & SetData(void)
Assign a value to Data data member.
void SetLabel(TLabel &value)
Assign a value to Label data member.
const TData & GetData(void) const
Get the Data member data.
void SetData(TData &value)
Assign a value to Data data member.
vector< CRef< CUser_field > > TData
TStructuredCommentTableColumnList GetStructuredCommentFields(const CUser_object &src)
vector< CRef< CStructuredCommentTableColumnBase > > TStructuredCommentTableColumnList
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