|
Field3D
|
#include <Field3DFileHDF5.h>
Public Types | |
| typedef Partition | class_type |
| typedef boost::intrusive_ptr< const Partition > | CPtr |
| typedef boost::intrusive_ptr< Partition > | Ptr |
| typedef std::vector< Layer > | ScalarLayerList |
| typedef std::vector< Layer > | VectorLayerList |
Public Types inherited from RefBase | |
| typedef boost::intrusive_ptr< RefBase > | Ptr |
| typedef boost::weak_ptr< RefBase > | WeakPtr |
Public Member Functions | |
| void | addScalarLayer (const FileHDF5::Layer &layer) |
| Adds a scalar layer. More... | |
| void | addVectorLayer (const FileHDF5::Layer &layer) |
| Adds a vector layer. More... | |
| void | getScalarLayerNames (std::vector< std::string > &names) const |
| Gets all the scalar layer names. More... | |
| void | getVectorLayerNames (std::vector< std::string > &names) const |
| Gets all the vector layer names. More... | |
| Partition () | |
| Ctor. More... | |
| const FileHDF5::Layer * | scalarLayer (const std::string &name) const |
| Finds a scalar layer. More... | |
| const FileHDF5::Layer * | vectorLayer (const std::string &name) const |
| Finds a vector layer. More... | |
From RefBase | |
| virtual std::string | className () const |
Public Member Functions inherited from RefBase | |
| void | ref () const |
| Used by boost::intrusive_pointer. More... | |
| size_t | refcnt () |
| Used by boost::intrusive_pointer. More... | |
| void | unref () const |
| Used by boost::intrusive_pointer. More... | |
| WeakPtr | weakPtr () const |
| RefBase () | |
| RefBase (const RefBase &) | |
| Copy constructor. More... | |
| RefBase & | operator= (const RefBase &) |
| Assignment operator. More... | |
| virtual | ~RefBase () |
| Destructor. More... | |
| virtual bool | checkRTTI (const char *typenameStr)=0 |
| This function is only implemented by concrete classes and triggers the actual RTTI check through matchRTTI();. More... | |
| bool | matchRTTI (const char *typenameStr) |
| Performs a check to see if the given typename string matches this class' This needs to be implemented in -all- subclasses, even abstract ones. More... | |
Static Public Member Functions | |
| static const char * | staticClassType () |
Static Public Member Functions inherited from RefBase | |
| static const char * | staticClassType () |
Public Attributes | |
| DEFINE_FIELD_RTTI_CONCRETE_CLASS | |
| FieldMapping::Ptr | mapping |
| Pointer to the mapping object. More... | |
| std::string | name |
| Name of the partition. More... | |
Private Types | |
| typedef RefBase | base |
| Convenience typedef for referring to base class. More... | |
Private Attributes | |
| ScalarLayerList | m_scalarLayers |
| The scalar-valued layers belonging to this partition. More... | |
| VectorLayerList | m_vectorLayers |
| The vector-valued layers belonging to this partition. More... | |
This class represents the partition-level node in a f3D file. The partition contains one "Mapping" and N "Fields" that all share that mapping.
Definition at line 145 of file Field3DFileHDF5.h.
| typedef std::vector<Layer> FileHDF5::Partition::ScalarLayerList |
Definition at line 149 of file Field3DFileHDF5.h.
| typedef std::vector<Layer> FileHDF5::Partition::VectorLayerList |
Definition at line 150 of file Field3DFileHDF5.h.
| typedef boost::intrusive_ptr<Partition> FileHDF5::Partition::Ptr |
Definition at line 152 of file Field3DFileHDF5.h.
| typedef boost::intrusive_ptr<const Partition> FileHDF5::Partition::CPtr |
Definition at line 153 of file Field3DFileHDF5.h.
Definition at line 157 of file Field3DFileHDF5.h.
|
private |
Convenience typedef for referring to base class.
Definition at line 217 of file Field3DFileHDF5.h.
|
inline |
Ctor.
Definition at line 168 of file Field3DFileHDF5.h.
|
inlinestatic |
Definition at line 160 of file Field3DFileHDF5.h.
|
virtual |
Definition at line 213 of file Field3DFileHDF5.cpp.
| void Partition::addScalarLayer | ( | const FileHDF5::Layer & | layer | ) |
Adds a scalar layer.
Definition at line 221 of file Field3DFileHDF5.cpp.
References m_scalarLayers.
| void Partition::addVectorLayer | ( | const FileHDF5::Layer & | layer | ) |
Adds a vector layer.
Definition at line 229 of file Field3DFileHDF5.cpp.
References m_vectorLayers.
| const Layer * Partition::scalarLayer | ( | const std::string & | name | ) | const |
Finds a scalar layer.
Definition at line 237 of file Field3DFileHDF5.cpp.
References m_scalarLayers, and name.
| const Layer * Partition::vectorLayer | ( | const std::string & | name | ) | const |
Finds a vector layer.
Definition at line 250 of file Field3DFileHDF5.cpp.
References m_vectorLayers, and name.
| void Partition::getScalarLayerNames | ( | std::vector< std::string > & | names | ) | const |
Gets all the scalar layer names.
Definition at line 263 of file Field3DFileHDF5.cpp.
References m_scalarLayers.
| void Partition::getVectorLayerNames | ( | std::vector< std::string > & | names | ) | const |
Gets all the vector layer names.
Definition at line 276 of file Field3DFileHDF5.cpp.
References m_vectorLayers.
| FileHDF5::Partition::DEFINE_FIELD_RTTI_CONCRETE_CLASS |
Definition at line 158 of file Field3DFileHDF5.h.
| std::string FileHDF5::Partition::name |
Name of the partition.
Definition at line 201 of file Field3DFileHDF5.h.
Referenced by scalarLayer(), and vectorLayer().
| FieldMapping::Ptr FileHDF5::Partition::mapping |
Pointer to the mapping object.
Definition at line 203 of file Field3DFileHDF5.h.
|
private |
The scalar-valued layers belonging to this partition.
Definition at line 210 of file Field3DFileHDF5.h.
Referenced by addScalarLayer(), getScalarLayerNames(), and scalarLayer().
|
private |
The vector-valued layers belonging to this partition.
Definition at line 212 of file Field3DFileHDF5.h.
Referenced by addVectorLayer(), getVectorLayerNames(), and vectorLayer().