49 explicit GXmlPI(
const std::string& segment);
56 virtual void clear(
void);
58 virtual std::string
classname(
void)
const;
59 virtual void write(
GUrl& url,
const int& indent = 0)
const;
62 const int& indent = 0)
const;
65 const std::string&
pi(
void)
const;
66 void pi(
const std::string& pi);
73 void parse(
const std::string& segment);
Abstract XML node base class.
virtual void write(GUrl &url, const int &indent=0) const
Write Processing Instruction into URL.
XML Processing Instruction node class.
void copy_members(const GXmlPI &node)
Copy class members.
GXmlPI & operator=(const GXmlPI &node)
Assignment operator.
const std::string & pi(void) const
Return Processing Instruction.
virtual ~GXmlPI(void)
Destructor.
Abstract URL base class interface definition.
void parse(const std::string &segment)
Parse comment segment string.
GXmlPI(void)
Void constructor.
virtual std::string print(const GChatter &chatter=NORMAL, const int &indent=0) const
Print XML Processing Instruction.
virtual GXmlPI * clone(void) const
Clone XML Processing Instruction.
virtual void clear(void)
Clear XML Processing Instruction.
void init_members(void)
Initialise class members.
virtual std::string classname(void) const
Return class name.
virtual NodeType type(void) const
Return XML node type.
std::string m_pi
Processing instruction (without brackets)
void free_members(void)
Delete class members.
Abstract XML node base class interface definition.