AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
Classes | Typedefs | Functions
drama::sds Namespace Reference

Detailed Description

This namespace implements access to DRAMA SDS data structures.

Classes

class  ArrayAccessHelper
 Helper class for access to an SDS Scalar Arrays. More...
 
class  ArrayContainer
 A container for simple arrays for use with SDS templates. More...
 
class  ArrayReadHelper
 Helper class for reading data from SDS Scalar Arrays. More...
 
class  ArrayWriteHelper
 Helper class for writing data to SDS Scalar Arrays. More...
 
class  DataPointer
 A class that provides direct access to the data of an SDS item, via a sub-class of std::unique_ptr<>. More...
 
class  DataPointer< T[]>
 A class that provides direct access to the data of an SDS item, via a sub-class of std::unique_ptr<>. More...
 
class  Id
 A C++ Interface to the handling SDS structures. More...
 
class  IdChecker
 A class to check for SDS leaks. More...
 
class  IdIterator
 An iterator for working through SDS Structures and SDS arrays of structures. More...
 
class  PrintObjectCR
 Abstract class which is sub-classed to print SDS item listings. More...
 
class  PrintObjectPnt
 Abstract class which is sub-classed to print SDS item listings. More...
 

Typedefs

typedef std::shared_ptr< IdIdPtr
 A shared pointer for sds::Id items.
 

Functions

template<typename SDS_T >
int CodeForType ()
 Functions which returns the SDS type of a given C type.
 
template<>
int CodeForType< bool > ()
 Return the SDS type code for C - SDS_SHORT

 
template<>
int CodeForType< char > ()
 Returns the SDS type for a char - SDS_CHAR.
 
template<>
int CodeForType< const std::string & > ()
 Returns the SDS type for a string - ARG_STRING.
 
template<>
int CodeForType< double > ()
 Returns the SDS type for a double - SDS_DOUBLE.
 
template<>
int CodeForType< float > ()
 Returns the SDS type for a flat - SDS_FLOAT.
 
template<>
int CodeForType< INT32 > ()
 Returns the SDS type for a 32 bit integer - SDS_INT.
 
template<>
int CodeForType< INT64 > ()
 Returns the SDS type for a 64 bit integer - SDS_I64.
 
template<>
int CodeForType< short > ()
 Returns the SDS type for a short - SDS_SHORT.
 
template<>
int CodeForType< signed char > ()
 Returns the SDS type for a signed char - SDS_BYTE.
 
template<>
int CodeForType< UINT32 > ()
 Returns the SDS type for an unsigned integer - SDS_UINT.
 
template<>
int CodeForType< UINT64 > ()
 Returns the SDS type for an unsigned 64 bit integer - SDS_UI64.
 
template<>
int CodeForType< unsigned char > ()
 Returns the SDS type for an unsigned char - SDS_UBYTE.
 
template<>
int CodeForType< unsigned short > ()
 Returns the SDS type for an unsigned short - SDS_USHORT.