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

Detailed Description

DRAMA 2 include file - Sds class definition.

Modern DRAMA 2 SDS Interface. Combines features from the older SdsId and Arg C++ classes.

Author
Tony Farrell, AAO $Revision$ $Date$ $Id$
#include "sds.h"
#include "arg.h"
#include <string>
#include <stdio.h>
#include <vector>
#include <memory>
#include <assert.h>
#include "drama/exception.hh"
#include "drama/sdsarray.hh"
#include <tuple>

Go to the source code of this file.

Classes

class  drama::sds::ArrayContainer< T >
 A container for simple arrays for use with SDS templates. More...
 
class  drama::sds::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  drama::sds::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  drama::sds::Id
 A C++ Interface to the handling SDS structures. More...
 
class  drama::sds::IdChecker
 A class to check for SDS leaks. More...
 
class  drama::sds::IdIterator
 An iterator for working through SDS Structures and SDS arrays of structures. More...
 
class  drama::sds::PrintObjectCR
 Abstract class which is sub-classed to print SDS item listings. More...
 
class  drama::sds::PrintObjectPnt
 Abstract class which is sub-classed to print SDS item listings. 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.
 

Macros

#define SDS_CHECK_IDS2(function_)   drama::sds:IdChecker _sds_id_checker(__LINE__, __FILE__, (function_))
 Check for SDS ID releases or leaks.
 

Typedefs

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

Functions

void drama::CheckLockTaken (const std::string func, const std::string &file, const int lineNum)
 Ensure the current thread has taken the DRAMA task lock.