AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
Classes | Namespaces | Functions
sdsarray.hh File Reference

Detailed Description

DRAMA 2 include file - drama::sds::ArrayAccessHelper Sds class definitions.

Array management classes as part of a modern SDS interface.

"@(#) $Id$"

Author
Tony Farrell, AAO $Revision$ $Date$ $Id$
#include "sds.h"
#include <string>

Go to the source code of this file.

Classes

class  drama::sds::ArrayAccessHelper< T >
 Helper class for access to an SDS Scalar Arrays. More...
 
class  drama::sds::ArrayReadHelper< T >
 Helper class for reading data from SDS Scalar Arrays. More...
 
class  drama::sds::ArrayWriteHelper< T >
 Helper class for writing data to SDS Scalar Arrays. More...
 

Namespaces

namespace  drama
 The drama namespace contains all the classes, types etc of the DRAMA 2 implementation.
 
namespace  drama::sds
 This namespace implements access to DRAMA SDS data structures.
 

Functions

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

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