aimsdata  5.1.2
Neuroimaging data handling
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 66 of file graphmanip.h.

Member Enumeration Documentation

◆ StorageType

Enumerator
Local 
Global 
GlobalPacked 

Definition at line 68 of file graphmanip.h.

Constructor & Destructor Documentation

◆ GraphElementCode() [1/3]

aims::GraphElementCode::GraphElementCode ( )
inline

Definition at line 75 of file graphmanip.h.

◆ GraphElementCode() [2/3]

aims::GraphElementCode::GraphElementCode ( const GraphElementCode x)

◆ GraphElementCode() [3/3]

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

Member Function Documentation

◆ operator=()

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

Member Data Documentation

◆ attribute

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 86 of file graphmanip.h.

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

◆ dataType

std::string aims::GraphElementCode::dataType

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

Definition at line 90 of file graphmanip.h.

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

◆ global_attribute

std::string aims::GraphElementCode::global_attribute

Definition at line 95 of file graphmanip.h.

◆ global_filename

std::string aims::GraphElementCode::global_filename

Definition at line 94 of file graphmanip.h.

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

◆ global_index_attribute

std::string aims::GraphElementCode::global_index_attribute

Definition at line 93 of file graphmanip.h.

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

◆ id

std::string aims::GraphElementCode::id

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

Definition at line 82 of file graphmanip.h.

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

◆ local_file_attribute

std::string aims::GraphElementCode::local_file_attribute

Definition at line 92 of file graphmanip.h.

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

◆ objectType

std::string aims::GraphElementCode::objectType

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

Definition at line 88 of file graphmanip.h.

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

◆ storageType

StorageType aims::GraphElementCode::storageType

Definition at line 91 of file graphmanip.h.

◆ syntax

std::string aims::GraphElementCode::syntax

syntactic attribute of attributed objects

Definition at line 97 of file graphmanip.h.

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


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