Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::Document::Element Class Reference

Public Member Functions

 Element (const Element &)
 
Elementoperator= (const Element &)
 
 Element (Element &&) noexcept=default
 
Elementoperator= (Element &&)=default
 
 Element (ElementType type, std::string_view content)
 
 Element (std::string_view name, std::string_view content="", const UnorderedStringMap< std::string > &attributes={})
 
const std::string & name () const
 
std::string & name ()
 
const UnorderedStringMap< std::string > & attributes () const
 
UnorderedStringMap< std::string > & attributes ()
 
const std::string & content () const
 
std::string & content ()
 
ElementType type () const
 
bool isText () const
 
bool isNode () const
 
bool emptyTag () const
 
bool noIndent () const
 
void serialize (Serializer &s) const
 
void deserialize (Deserializer &d)
 

Public Attributes

friend Document
 
friend DocumentHandle
 

Friends

void swap (Element &lhs, Element &rhs)
 

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