ANNA Suite  2020b
Multipurpose development suite for Telco applications
Public Member Functions | Friends | List of all members
anna::xml::Text Class Reference

#include <Text.hpp>

Inheritance diagram for anna::xml::Text:
Inheritance graph
[legend]
Collaboration diagram for anna::xml::Text:
Collaboration graph
[legend]

Public Member Functions

std::string asString () const
 
- Public Member Functions inherited from anna::xml::Data
const std::string & getValue () const
 
const char * getCStringValue () const
 
int getIntegerValue () const
 
void setValue (const char *value)
 
void setValue (const std::string &value)
 
void setValue (const int value)
 

Friends

class Node
 
class Allocator< Text >
 

Additional Inherited Members

- Protected Member Functions inherited from anna::xml::Data
 Data ()
 

Detailed Description

Texto de nodo XML.

Cada nodo XML puede tener un texto libre asociado. Por ejemplo:

<broadcast>
<INetAddress>
<Address>204.152.65.15</Address>
<Port>2000</Port>
</INetAddress>
</broadcast>

Member Function Documentation

◆ asString()

std::string anna::xml::Text::asString ( void  ) const
inlinevirtual

Devuelve una cadena con toda la informacion relevante de esta instancia.

Returns
Una cadena con toda la informacion relevante de esta instancia.

Reimplemented from anna::xml::Data.

40  {
41  std::string result("xml::Text {");
42  result += Data::asString();
43  return result += " }";
44  }
virtual std::string asString() const
Here is the call graph for this function:

Friends And Related Function Documentation

◆ Allocator< Text >

friend class Allocator< Text >
friend

◆ Node

friend class Node
friend

Representacion de un nodo de HTML.

See also
xml::Node;

The documentation for this class was generated from the following file: