Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
XAO::GeometricElement Class Reference

Generic class to manipulate a topologic element (vertex, edge, face or solid).

#include <XAO_GeometricElement.hxx>

Public Member Functions

 GeometricElement ()
 Default constructor. More...
 
 GeometricElement (const std::string &name, const std::string &reference)
 Constructor with name and reference. More...
 
virtual ~GeometricElement ()
 Destructor. More...
 
const std::string getName ()
 Gets the name of the element. More...
 
void setName (const std::string &name)
 Sets the name of the element. More...
 
const bool hasName ()
 Checks if the element has a name. More...
 
const std::string getReference ()
 Gets the reference of the element. More...
 
void setReference (const std::string &reference)
 Sets the reference of the element. More...
 

Private Attributes

std::string m_name
 The name of the element. More...
 
std::string m_reference
 The reference of the element. More...
 

Constructor & Destructor Documentation

GeometricElement::GeometricElement ( )

References m_name, and m_reference.

GeometricElement::GeometricElement ( const std::string &  name,
const std::string &  reference 
)
Parameters
namethe name of the element.
referencethe reference of the element.

References m_name, and m_reference.

GeometricElement::~GeometricElement ( )
virtual

Member Function Documentation

const std::string XAO::GeometricElement::getName ( )
inline
Returns
the name.
const std::string XAO::GeometricElement::getReference ( )
inline
Returns
the reference.
const bool GeometricElement::hasName ( )
Returns
true if the element has a name, false otherwise.

References m_name.

void XAO::GeometricElement::setName ( const std::string &  name)
inline
Parameters
namethe name to set.
void XAO::GeometricElement::setReference ( const std::string &  reference)
inline
Parameters
referencethe reference to set.

Member Data Documentation

std::string XAO::GeometricElement::m_name
private
std::string XAO::GeometricElement::m_reference
private

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