AAO DRAMA/DRAMA2 C++ Interface
Classes | Namespaces | Macros | Typedefs
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
1.45
Date
22-Feb-2016 14:09:58+11
Id
ACMM:Drama2/drama/sds.hh,v 1.45 22-Feb-2016 14:09:58+11 tjf
#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

 drama
 The drama namespace contains all the classes, types etc of the DRAMA 2 implementation.
 
 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. More...
 

Typedefs

typedef std::shared_ptr< Id > drama::sds::IdPtr
 A shared pointer for sds::Id items. More...
 

Macro Definition Documentation

#define SDS_CHECK_IDS2 (   function_)    drama::sds:IdChecker _sds_id_checker(__LINE__, __FILE__, (function_))

Check for SDS ID releases or leaks.

This marco declares an object named _sds_id_checker of type SdsIDChecker. It uses the current line number and compilation file name when constructing the object. This is the easiest way of checking for SDS leaks in a C++ function.

Parameters
function_A function/method name to be used in the message. char *.

Click here for the DRAMA home page and here for the AAO home page.

For more information, contact tjf@aao.gov.au 

Generated on Mon Feb 22 2016 15:57:52 for AAO DRAMA/DRAMA2 C++ Interface by doxygen 1.8.10