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

The description of a Property of an Element. More...

#include <header.h>

Public Member Functions

 Property ()
 The default constructor.
 
 Property (const char *n, const Variable_type &t, const Scalar_type &dt, const Scalar_type &st=StartType)
 The instantiated constructor. More...
 

Public Attributes

std::string name
 The name of the Property.
 
Variable_type type
 Whether this Property is a scalar, list, or string.
 
Scalar_type data_type
 How the data of this Property is stored in the file.
 
Scalar_type size_type
 How the list size is stored in the file.
 
bool store
 Whether to store this Property.
 

Detailed Description

The description of a Property of an Element.

Each Element contains a number of Properties. These Properties should be described in the Header.

See Also
Element and Header.

Constructor & Destructor Documentation

PLY::Property::Property ( const char *  n,
const Variable_type t,
const Scalar_type dt,
const Scalar_type st = StartType 
)
inline

The instantiated constructor.

This constructor is mainly for ease of use when describing new Properties.

Parameters
nthe name.
tthe type of the property.
dtthe type of the data.
stthe type of the list size.

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