#include <NodoXML.h>
Public Member Functions | |
NodoXML (bool f, bool v) | |
~NodoXML () | |
void | setNome (std::string n) |
void | setAtributo (std::string chave, std::string valor) |
std::map< std::string, std::string > * | getAtributos () |
void | addFilho (NodoXML *filho) |
NodoXML * | getFilho (int i) |
int | getNumeroFilhos () |
std::string | getNome () |
std::vector< NodoXML * > * | getFilhos () |
bool | podeTerFilho () |
bool | podeTerValor () |
void | setValor (std::string v) |
std::string | getValor () |
Private Attributes | |
std::map< std::string, std::string > * | atributos |
std::string | nome |
std::vector< NodoXML * > * | filhos |
bool | ptf |
bool | ptv |
std::string | valor |
NodoXML::NodoXML | ( | bool | f, | |
bool | v | |||
) | [inline] |
NodoXML::~NodoXML | ( | ) | [inline] |
void NodoXML::setNome | ( | std::string | n | ) |
void NodoXML::setAtributo | ( | std::string | chave, | |
std::string | valor | |||
) |
map< std::string, std::string > * NodoXML::getAtributos | ( | ) |
void NodoXML::addFilho | ( | NodoXML * | filho | ) |
NodoXML * NodoXML::getFilho | ( | int | i | ) |
int NodoXML::getNumeroFilhos | ( | ) |
std::string NodoXML::getNome | ( | ) |
std::vector< NodoXML * > * NodoXML::getFilhos | ( | ) |
bool NodoXML::podeTerFilho | ( | ) |
bool NodoXML::podeTerValor | ( | ) |
void NodoXML::setValor | ( | std::string | v | ) |
std::string NodoXML::getValor | ( | ) |
std::map<std::string, std::string>* NodoXML::atributos [private] |
std::string NodoXML::nome [private] |
std::vector<NodoXML*>* NodoXML::filhos [private] |
bool NodoXML::ptf [private] |
bool NodoXML::ptv [private] |
std::string NodoXML::valor [private] |