/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
DayaBay::TemporalContainedObject Class Reference

Base class for any object participating in a collection that is in the time window. More...

#include <TemporalContainedObject.h>

Inheritance diagram for DayaBay::TemporalContainedObject:
Inheritance graph
[legend]
Collaboration diagram for DayaBay::TemporalContainedObject:
Collaboration graph
[legend]

List of all members.

Public Types

typedef ObjectVector
< TemporalContainedObject
Container
 typedef for ObjectVector of TemporalContainedObject

Public Member Functions

 TemporalContainedObject ()
 Default Constructor.
virtual ~TemporalContainedObject ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
virtual const TimeStampearliest () const
 Retrieve const The earliest time of the existence of the object.
void setEarliest (const TimeStamp &value)
 Update The earliest time of the existence of the object.
virtual const TimeStamplatest () const
 Retrieve const The latest time of the existence of the object.
void setLatest (const TimeStamp &value)
 Update The latest time of the existence of the object.

Static Public Member Functions

static void * operator new (size_t size)
 operator new
static void * operator new (size_t size, void *pObj)
 placement operator new it is needed by libstdc++ 3.2.3 (e.g.
static void operator delete (void *p)
 operator delete
static void operator delete (void *p, void *pObj)
 placement operator delete not sure if really needed, but it does not harm

Private Attributes

TimeStamp m_earliest
 The earliest time of the existence of the object.
TimeStamp m_latest
 The latest time of the existence of the object.

Detailed Description

Base class for any object participating in a collection that is in the time window.

Author:
Simon Patton <SJPatton@lbl.gov> created Thu Dec 5 17:38:14 2013

Definition at line 43 of file TemporalContainedObject.h.


Member Typedef Documentation

typedef for ObjectVector of TemporalContainedObject

Definition at line 48 of file TemporalContainedObject.h.


Constructor & Destructor Documentation

DayaBay::TemporalContainedObject::TemporalContainedObject ( ) [inline]

Default Constructor.

Definition at line 51 of file TemporalContainedObject.h.

                              : m_earliest(),
                                m_latest() {}
virtual DayaBay::TemporalContainedObject::~TemporalContainedObject ( ) [inline, virtual]

Default Destructor.

Definition at line 55 of file TemporalContainedObject.h.

{}

Member Function Documentation

std::ostream & DayaBay::TemporalContainedObject::fillStream ( std::ostream &  s) const [inline, virtual]

Fill the ASCII output stream.

Reimplemented from DayaBay::ITemporal.

Definition at line 134 of file TemporalContainedObject.h.

{
  ITemporal::fillStream(s);
  s << "{ " << "earliest :      " << m_earliest << std::endl
            << "latest :        " << m_latest << std::endl << " }";
  return s;
}
const TimeStamp & DayaBay::TemporalContainedObject::earliest ( ) const [inline, virtual]

Retrieve const The earliest time of the existence of the object.

Implements DayaBay::ITemporal.

Definition at line 143 of file TemporalContainedObject.h.

{
  return m_earliest;
}
void DayaBay::TemporalContainedObject::setEarliest ( const TimeStamp value) [inline, virtual]

Update The earliest time of the existence of the object.

Implements DayaBay::ITemporal.

Definition at line 148 of file TemporalContainedObject.h.

{
  m_earliest = value;
}
const TimeStamp & DayaBay::TemporalContainedObject::latest ( ) const [inline, virtual]

Retrieve const The latest time of the existence of the object.

Implements DayaBay::ITemporal.

Definition at line 153 of file TemporalContainedObject.h.

{
  return m_latest;
}
void DayaBay::TemporalContainedObject::setLatest ( const TimeStamp value) [inline, virtual]

Update The latest time of the existence of the object.

Implements DayaBay::ITemporal.

Definition at line 158 of file TemporalContainedObject.h.

{
  m_latest = value;
}
static void* DayaBay::TemporalContainedObject::operator new ( size_t  size) [inline, static]

operator new

Reimplemented from DayaBay::ITemporal.

Definition at line 79 of file TemporalContainedObject.h.

    {
      return ( sizeof(TemporalContainedObject) == size ? 
               boost::singleton_pool<TemporalContainedObject, sizeof(TemporalContainedObject)>::malloc() :
               ::operator new(size) );
    }
static void* DayaBay::TemporalContainedObject::operator new ( size_t  size,
void *  pObj 
) [inline, static]

placement operator new it is needed by libstdc++ 3.2.3 (e.g.

in std::vector) it is not needed in libstdc++ >= 3.4

Reimplemented from DayaBay::ITemporal.

Definition at line 89 of file TemporalContainedObject.h.

    {
      return ::operator new (size,pObj);
    }
static void DayaBay::TemporalContainedObject::operator delete ( void *  p) [inline, static]

operator delete

Reimplemented from DayaBay::ITemporal.

Definition at line 95 of file TemporalContainedObject.h.

    {
      boost::singleton_pool<TemporalContainedObject, sizeof(TemporalContainedObject)>::is_from(p) ?
      boost::singleton_pool<TemporalContainedObject, sizeof(TemporalContainedObject)>::free(p) :
      ::operator delete(p);
    }
static void DayaBay::TemporalContainedObject::operator delete ( void *  p,
void *  pObj 
) [inline, static]

placement operator delete not sure if really needed, but it does not harm

Reimplemented from DayaBay::ITemporal.

Definition at line 104 of file TemporalContainedObject.h.

    {
      ::operator delete (p, pObj);
    }

Member Data Documentation

The earliest time of the existence of the object.

Definition at line 113 of file TemporalContainedObject.h.

The latest time of the existence of the object.

Definition at line 114 of file TemporalContainedObject.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:58:11 for BaseEvent by doxygen 1.7.4