A.I.M.S


aims::GraphElementCode Struct Reference

Describe how Aims objects are stored in graph objects. More...

#include <aims/graph/graphmanip.h>

Collaboration diagram for aims::GraphElementCode:

Public Types

enum  StorageType { Local, Global, GlobalPacked }
 

Public Member Functions

 GraphElementCode ()
 
 GraphElementCode (const GraphElementCode &x)
 
 GraphElementCode (const std::string &attrib, const std::string &ot, const std::string &dt, StorageType st)
 
GraphElementCodeoperator= (const GraphElementCode &x)
 

Public Attributes

std::string id
 ID for object: filename (globals) or attribute for filename (locals) More...
 
std::string attribute
 attribute found in graph objects, this attribute is a reference-counting pointer (carto::rc_ptr<T>) to the correct aims object type More...
 
std::string objectType
 object type as in aims Finder: "Volume", "Bucket", "Mesh", ... More...
 
std::string dataType
 data type as in Aims Finder: "S16", "U8", "FLOAT", ... More...
 
StorageType storageType
 
std::string local_file_attribute
 
std::string global_index_attribute
 
std::string global_filename
 
std::string global_attribute
 
std::string syntax
 syntactic attribute of attributed objects More...
 

Detailed Description

Describe how Aims objects are stored in graph objects.

These codes are built by AimsGraphReader and stored in the graph global tables. They must be maintained otherwise Aims objects stored in graphs won't be saved correctly

See also
AimsGraphReader, GraphManip

Definition at line 64 of file graphmanip.h.

Member Enumeration Documentation

Enumerator
Local 
Global 
GlobalPacked 

Definition at line 66 of file graphmanip.h.

Constructor & Destructor Documentation

aims::GraphElementCode::GraphElementCode ( )
inline

Definition at line 73 of file graphmanip.h.

aims::GraphElementCode::GraphElementCode ( const GraphElementCode x)
aims::GraphElementCode::GraphElementCode ( const std::string &  attrib,
const std::string &  ot,
const std::string &  dt,
StorageType  st 
)

Member Function Documentation

GraphElementCode& aims::GraphElementCode::operator= ( const GraphElementCode x)

Member Data Documentation

std::string aims::GraphElementCode::attribute

attribute found in graph objects, this attribute is a reference-counting pointer (carto::rc_ptr<T>) to the correct aims object type

Definition at line 84 of file graphmanip.h.

Referenced by aims::Tex2Graph< T >::makeGraph(), and aims::GraphManip::storeAims().

std::string aims::GraphElementCode::dataType

data type as in Aims Finder: "S16", "U8", "FLOAT", ...

Definition at line 88 of file graphmanip.h.

Referenced by aims::Tex2Graph< T >::makeGraph(), and aims::GraphManip::storeAims().

std::string aims::GraphElementCode::global_attribute

Definition at line 93 of file graphmanip.h.

std::string aims::GraphElementCode::global_filename

Definition at line 92 of file graphmanip.h.

Referenced by aims::Tex2Graph< T >::makeGraph(), and aims::GraphManip::storeAims().

std::string aims::GraphElementCode::global_index_attribute

Definition at line 91 of file graphmanip.h.

Referenced by aims::Tex2Graph< T >::makeGraph(), and aims::GraphManip::storeAims().

std::string aims::GraphElementCode::id

ID for object: filename (globals) or attribute for filename (locals)

Definition at line 80 of file graphmanip.h.

Referenced by aims::Tex2Graph< T >::makeGraph().

std::string aims::GraphElementCode::local_file_attribute

Definition at line 90 of file graphmanip.h.

Referenced by aims::Tex2Graph< T >::makeGraph(), and aims::GraphManip::storeAims().

std::string aims::GraphElementCode::objectType

object type as in aims Finder: "Volume", "Bucket", "Mesh", ...

Definition at line 86 of file graphmanip.h.

Referenced by aims::Tex2Graph< T >::makeGraph(), and aims::GraphManip::storeAims().

StorageType aims::GraphElementCode::storageType

Definition at line 89 of file graphmanip.h.

std::string aims::GraphElementCode::syntax

syntactic attribute of attributed objects

Definition at line 95 of file graphmanip.h.

Referenced by aims::Tex2Graph< T >::makeGraph().


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