AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::sidre Namespace Reference

Namespaces

 detail
 
 internal
 

Classes

class  Array
 Provides a generic multi-component array, contained in Sidre. More...
 
class  Attribute
 An Attribute holds scalar metadata describing a View. More...
 
class  AttrValues
 
class  Buffer
 Buffer is a container that describes and holds data in memory. More...
 
class  IndexedCollection
 IndexedCollection is a container for a collection of pointers to items of template parameter type T, each with a corresponding index. More...
 
class  MapCollection
 MapCollection is a container class template for holding a collection of items of template parameter type T. More...
 
class  DataStore
 DataStore is the main interface for creating and accessing Buffer objects. More...
 
class  ItemCollection
 ItemCollection is an abstract base class template for holding a collection of items of template parameter type T. Derived child classes can determine how to specifically store the items. More...
 
class  Group
 Group holds a collection of Views and (child) Groups. More...
 
class  ListCollection
 ListCollection is a container class template for holding a collection of items of template parameter type T, using a list container. More...
 
class  View
 A View object describes data, which may be owned by the view object (e.g., via an attached Buffer) or owned externally. More...
 
class  IOBaton
 IOBaton ensures that during I/O operations, only one rank will interact with a particular file at one time. More...
 
class  IOManager
 IOManager manages and organizes the I/O operations. More...
 

Typedefs

template<typename T >
using MCArray = Array< T, 2 >
 Helper alias for multi-component arrays. More...
 
using Node = conduit::Node
 The Node class is the primary object in Conduit. More...
 
using DataType = conduit::DataType
 DataType is a general Conduit descriptor. More...
 
using Schema = conduit::Schema
 A Conduit Schema describes the data in a Node. More...
 
using IndexType = axom::IndexType
 IndexType is used for any labeling of a sidre object by an integer identifier. More...
 
using TypeID = DataTypeId
 TypeID is used to identify the type of a buffer (SIDRE_INT8_ID, etc). More...
 

Enumerations

enum  DataTypeId {
  NO_TYPE_ID = CONDUIT_EMPTY_ID , INT8_ID = CONDUIT_INT8_ID , INT16_ID = CONDUIT_INT16_ID , INT32_ID = CONDUIT_INT32_ID ,
  INT64_ID = CONDUIT_INT64_ID , UINT8_ID = CONDUIT_UINT8_ID , UINT16_ID = CONDUIT_UINT16_ID , UINT32_ID = CONDUIT_UINT32_ID ,
  UINT64_ID = CONDUIT_UINT64_ID , FLOAT32_ID = CONDUIT_FLOAT32_ID , FLOAT64_ID = CONDUIT_FLOAT64_ID , CHAR8_STR_ID = CONDUIT_CHAR8_STR_ID ,
  INT_ID = CONDUIT_NATIVE_INT_ID , UINT_ID = CONDUIT_NATIVE_UNSIGNED_INT_ID , LONG_ID = CONDUIT_NATIVE_LONG_ID , ULONG_ID = CONDUIT_NATIVE_UNSIGNED_LONG_ID ,
  FLOAT_ID = CONDUIT_NATIVE_FLOAT_ID , DOUBLE_ID = CONDUIT_NATIVE_DOUBLE_ID
}
 Enum that holds the numeric data type id options for sidre types. More...
 

Functions

bool indexIsValid (IndexType idx)
 Returns true if idx is valid, else false. More...
 
bool nameIsValid (const std::string &name)
 Returns true if name is valid, else false. More...
 
TypeID getTypeID (const int typeID)
 Convenience function to convert int to TypeID type. More...
 

Variables

const IndexType InvalidIndex = -1
 Common invalid index identifier used in sidre. More...
 
const std::string InvalidName
 Common invalid name (string) identifier used in sidre. More...
 

Typedef Documentation

◆ MCArray

template<typename T >
using axom::sidre::MCArray = typedef Array<T, 2>

Helper alias for multi-component arrays.

◆ Node

using axom::sidre::Node = typedef conduit::Node

The Node class is the primary object in Conduit.

◆ DataType

using axom::sidre::DataType = typedef conduit::DataType

DataType is a general Conduit descriptor.

◆ Schema

using axom::sidre::Schema = typedef conduit::Schema

A Conduit Schema describes the data in a Node.

◆ IndexType

IndexType is used for any labeling of a sidre object by an integer identifier.

◆ TypeID

TypeID is used to identify the type of a buffer (SIDRE_INT8_ID, etc).

Enumeration Type Documentation

◆ DataTypeId

Enum that holds the numeric data type id options for sidre types.

Enumerator
NO_TYPE_ID 
INT8_ID 
INT16_ID 
INT32_ID 
INT64_ID 
UINT8_ID 
UINT16_ID 
UINT32_ID 
UINT64_ID 
FLOAT32_ID 
FLOAT64_ID 
CHAR8_STR_ID 
INT_ID 
UINT_ID 
LONG_ID 
ULONG_ID 
FLOAT_ID 
DOUBLE_ID 

Function Documentation

◆ indexIsValid()

bool axom::sidre::indexIsValid ( IndexType  idx)
inline

Returns true if idx is valid, else false.

Used for the loop test when iterating over the Buffers or Attributes in a DataStore or the Views or Groups in a Group.

References InvalidIndex.

◆ nameIsValid()

bool axom::sidre::nameIsValid ( const std::string &  name)
inline

Returns true if name is valid, else false.

References InvalidName.

◆ getTypeID()

TypeID axom::sidre::getTypeID ( const int  typeID)
inline

Convenience function to convert int to TypeID type.

Used to convert C defines to C++ enumerations.

Variable Documentation

◆ InvalidIndex

const IndexType axom::sidre::InvalidIndex = -1

Common invalid index identifier used in sidre.

◆ InvalidName

const std::string axom::sidre::InvalidName

Common invalid name (string) identifier used in sidre.