Basic Geometry, Numerical Algorithms and Interfaces
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
Public Member Functions | Protected Attributes | List of all members
MxAnnotated Class Reference

Detailed Description

Base class for annotated mesh objects.

Mesh objects associated with MxMesh all share the possibility to embed hierarchical annotations. These are contained in the MxAnnotated parent class.

See Also

#include <mxannotated.h>

Inheritance diagram for MxAnnotated:
Collaboration diagram for MxAnnotated:

Public Member Functions

 MxAnnotated ()
 empty annotations
 MxAnnotated (const MxAnnotated &)=default
 default copy
 MxAnnotated (MxAnnotated &&a)
 move constructor
virtual ~MxAnnotated ()
 meant as a base class
MxAnnotatedoperator= (const MxAnnotated &)=default
 default copy asignment
MxAnnotatedoperator= (MxAnnotated &&a)
 move assignment
void note (const XmlElement &xe)
 set the contents of the complete annotation object
const XmlElementnote () const
 retrieve xml annotation object
void annotate (const XmlElement &xe)
 append annotation element
XmlElement::const_iterator noteBegin () const
 iterate over annotations
XmlElement::const_iterator noteEnd () const
 iterate over annotations
void attribute (const std::string &key, const std::string &value)
 assign attribute, i.e. key-value pair in top-level annotation
std::string attribute (const std::string &key) const
 retrieve attribute; return empty string if not present

Protected Attributes

XmlElement xnote
 xml annotation

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