Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

CGNS::Valued Class Reference

#include <cgns++.h>

Inherits CGNS::Arrayed.

Inherited by CGNS::IntegralData, and CGNS::ReferenceState.

Inheritance diagram for CGNS::Valued:

Inheritance graph
[legend]
List of all members.

Public Types

typedef iterator< double > Value_iterator_t

Public Methods

int getNumValue () const
bool hasValue (std::string const &iName) const
double getValue (std::string const &iName) const
Value_iterator_t beginValue () const
Value_iterator_t endValue () const
void deleteValue (std::string const &iName)
double writeValue (std::string const &, double iValue)
bool hasValue (DataArray::Quantity iQuantity) const
double getValue (DataArray::Quantity iQuantity) const
void writeValue (DataArray::Quantity iQuantity, double iValue)

Protected Methods

 Valued (Private::Valued *iImpl)
 ~Valued ()

Detailed Description

Represents a SIDS node possibly with scalar only DataArray_t subnodes.


Member Typedef Documentation

typedef iterator< double > Value_iterator_t
 


Constructor & Destructor Documentation

Valued (  Private::Valued *    iImpl )  [protected]
 

Creates this node from implementation data.

~Valued (    )  [inline, protected]
 

Deletes this node and disables access via base pointers.


Member Function Documentation

Value_iterator_t beginValue (    )  const
 

void deleteValue (  std::string const &    iName ) 
 

Value_iterator_t endValue (    )  const
 

int getNumValue (    )  const
 

double getValue (  DataArray::Quantity    iQuantity )  const
 

Gets the given quantity. Throws if not available.

double getValue (  std::string const &    iName )  const
 

bool hasValue (  DataArray::Quantity    iQuantity )  const
 

Asks if there is a given quantity.

bool hasValue (  std::string const &    iName )  const
 

void writeValue (  DataArray::Quantity    iQuantity,
double    iValue
) 
 

Creates or changes the given quantity.

double writeValue (  std::string const &   ,
double    iValue
) 
 


Generated on Thu Mar 14 10:44:32 2002 for CGNS++ by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001