PLY reader/writer  1.2.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
Public Member Functions | Public Attributes | List of all members
PLY::AnyObject Struct Reference

An Object representing a generic Element. More...

#include <unknown.h>

Inheritance diagram for PLY::AnyObject:
PLY::Object

Public Member Functions

 AnyObject ()
 Default constructor.
 
 ~AnyObject ()
 Destructor.
 
void prepare (const Element &elem)
 Prepare the Object to represent an Element. More...
 
Valueget_value (const Element &elem, const Property &prop)
 Get a Value. More...
 
- Public Member Functions inherited from PLY::Object
virtual bool make_element (Element &elem) const
 Construct an Element describing this Object. More...
 
bool describe_element (Header &header) const
 Add an Element describing this Object to a Header. More...
 
bool storage_test (const Element &elem)
 Check if the Object matches with an Element. More...
 

Public Attributes

Value ** values
 The Values of the Object.
 

Detailed Description

An Object representing a generic Element.

Member Function Documentation

Value * PLY::AnyObject::get_value ( const Element elem,
const Property prop 
)
virtual

Get a Value.

Parameters
elemthe Element describing the Object.
propthe Property describing the Value.
Returns
the Value or NULL if the Value is not contained in this Object.

Implements PLY::Object.

void PLY::AnyObject::prepare ( const Element elem)
virtual

Prepare the Object to represent an Element.

Parameters
elemthe Element to prepare for.

Reimplemented from PLY::Object.


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