Name

GroveText — Text node of the XML grove.

Synopsis

class GroveText : public GroveNodeSernaApi::GroveNode {
public:
  // construct/copy/destruct
  GroveText(SernaApiBase *);
  GroveText(const SString &);
  ~GroveText();

  // public member functions

  SString data() const;
  void setData(const SString &) ;
  bool isEmpty() const;
};

Description

GroveText construct/copy/destruct

  1. GroveText(SernaApiBase * );


  2. GroveText(const SString & value);


  3. ~GroveText();


GroveText public member functions

  1. SString data() const;

    Get text value as string.


  2. void setData(const SString & s) ;

    Set new text value.


  3. bool isEmpty() const;

    Check whether content of this node is empty (does not contain any non-whitespace characters)