Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Private Attributes | Static Private Attributes
Arc::DataHandle Class Reference

This class is a wrapper around the DataPoint class. More...

#include <DataHandle.h>

Collaboration diagram for Arc::DataHandle:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DataHandle (const URL &url, const UserConfig &usercfg)
 ~DataHandle ()
DataPointoperator-> ()
const DataPointoperator-> () const
DataPointoperator* ()
const DataPointoperator* () const
bool operator! () const
 operator bool () const

Private Attributes

DataPointp

Static Private Attributes

static DataPointLoader loader

Detailed Description

This class is a wrapper around the DataPoint class.

It simplifies the construction, use and destruction of DataPoint objects.

Definition at line 17 of file DataHandle.h.


Constructor & Destructor Documentation

Arc::DataHandle::DataHandle ( const URL url,
const UserConfig usercfg 
) [inline]

Definition at line 19 of file DataHandle.h.

      : p(loader.load(url, usercfg)) {}

Definition at line 21 of file DataHandle.h.

                  {
      if (p)
        delete p;
    }

Member Function Documentation

Arc::DataHandle::operator bool ( void  ) const [inline]

Definition at line 40 of file DataHandle.h.

                          {
      return !!p;
    }
bool Arc::DataHandle::operator! ( void  ) const [inline]

Definition at line 37 of file DataHandle.h.

                           {
      return !p;
    }
DataPoint& Arc::DataHandle::operator* ( void  ) [inline]

Definition at line 31 of file DataHandle.h.

                           {
      return *p;
    }
const DataPoint& Arc::DataHandle::operator* ( void  ) const [inline]

Definition at line 34 of file DataHandle.h.

                                       {
      return *p;
    }
DataPoint* Arc::DataHandle::operator-> ( void  ) [inline]

Definition at line 25 of file DataHandle.h.

                            {
      return p;
    }
const DataPoint* Arc::DataHandle::operator-> ( void  ) const [inline]

Definition at line 28 of file DataHandle.h.

                                        {
      return p;
    }

Member Data Documentation

Definition at line 45 of file DataHandle.h.

Definition at line 44 of file DataHandle.h.


The documentation for this class was generated from the following files: