: m_Value(
value), m_Optional(optional)
90 operator const string&(void)
const 100m_Optional = optional;
117: m_Mode(
mode), m_Node(0), m_Previous(0)
122: m_Mode(
EMode(
mode)), m_Node(0), m_Previous(0)
127: m_Mode(
mode->m_Mode), m_Node(node), m_Previous(
mode)
137 return mode== m_Mode;
172 voidRemoveAllChildren(
void);
183TChildren::const_iterator
ChildEnd(
void)
const;
195 virtual voidCreateSubNodes(
void);
197 voidInitialize(
void);
202 voidReInitialize(
void);
205 virtual CNCBINode* MapTag(
const string& tagname);
218 boolHaveAttribute(
const string& name)
const;
219 const string& GetAttribute(
const string& name)
const;
220 boolAttributeIsOptional(
const string& name)
const;
221 boolAttributeIsOptional(
const char* name)
const;
222 voidSetAttributeOptional(
const string& name,
booloptional =
true);
223 voidSetAttributeOptional(
const char* name,
booloptional =
true);
224 const string* GetAttributeValue(
const string& name)
const;
228 voidSetAttribute(
const string& name);
229 voidSetAttribute(
const string& name,
int value);
233 voidSetAttribute(
const char* name,
const string&
value);
234 voidSetAttribute(
const char* name);
235 voidSetAttribute(
const char* name,
int value);
249fDisableCheckRecursion = 0x4
259 virtual voidDoAppendChild(
CNCBINode* child);
260 virtual voidDoSetAttribute(
const string& name,
261 const string&
value,
booloptional);
void Print(const CCompactSAMApplication::AlignInfo &ai)
Include a standard set of the NCBI C++ Toolkit most basic headers.
std::ofstream out("events_result.xml")
main entry point for tests
TMode(const TMode *mode, CNCBINode *node)
size_t m_RepeatCount
How many times repeat node.
bool HaveChildren(void) const
CNCBINode(const CNCBINode &node)
map< string, SAttributeValue, PNocase > TAttributes
const TMode * GetPreviousContext(void) const
list< CNodeRef > TChildren
SAttributeValue & operator=(const string &value)
void SetOptionalAttribute(const char *name, bool set)
bool HaveAttributes(void) const
CNCBINode & operator=(const CNCBINode &node)
const string & GetName(void) const
TChildren::const_iterator ChildBegin(void) const
bool m_CreateSubNodesCalled
unique_ptr< TAttributes > m_Attributes
void RepeatTag(bool enable=true)
void SetOptionalAttribute(const string &name, bool set)
const TChildren & Children(void) const
const TAttributes & Attributes(void) const
void SetOptional(bool optional=true)
const string & GetValue(void) const
TChildren & GetChildren(void)
CNCBINode * AppendChild(CNCBINode *child)
int TExceptionFlags
Binary OR of "EExceptionFlags".
void SetOptionalAttribute(const char *name, const string &value)
TChildren::iterator ChildEnd(void)
CRef< CNCBINode > CNodeRef
void SetOptionalAttribute(const string &name, const string &value)
TAttributes & Attributes(void)
TChildren & Children(void)
TAttributes & GetAttributes(void)
TChildren::iterator ChildBegin(void)
TChildrenMember m_Children
Child nodes.
static const CNCBINode * Node(TChildren::const_iterator i)
static CNCBINode * Node(TChildren::iterator i)
size_t GetRepeatCount(void)
void SetAttribute(const string &name, const string &value)
void SetRepeatCount(size_t count=0)
CNCBINode * GetNode(void) const
bool operator==(EMode mode) const
EExceptionFlags
Flags defining how to catch and process exceptions.
TChildren::const_iterator ChildEnd(void) const
bool IsOptional(void) const
unique_ptr< TChildren > TChildrenMember
SAttributeValue(const string &value, bool optional)
CNCBINode * AppendChild(CNodeRef &ref)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
#define NCBI_XHTML_EXPORT
@ eHTML
HTML tag or, for example, HTML entity.
const GenericPointer< typename T::ValueType > T2 value
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
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