OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
DODS_Time_Factory Class Reference

Read times from datasets based on text configuration values. More...

#include <DODS_Time_Factory.h>

Inheritance diagram for DODS_Time_Factory:
Inheritance graph
Collaboration diagram for DODS_Time_Factory:
Collaboration graph

Public Member Functions

virtual ~DODS_Time_Factory ()
 
Constructors

Note that the default constructor is private.

 DODS_Time_Factory (DDS &dds, const string &attribute_name="DODS_Time")
 Read the configuration information and decide how to build DODS_Time objects. More...
 
Access
virtual DODS_Time get ()
 Read a time value from a dataset. More...
 

Protected Member Functions

 DODS_Time_Factory ()
 

Detailed Description

Read times from datasets based on text configuration values.

Times are returned using DODS_Time objects.

See also
DODS_Time
Author
James Gallagher

Definition at line 50 of file DODS_Time_Factory.h.

Constructor & Destructor Documentation

DODS_Time_Factory::DODS_Time_Factory ( )
inlineprotected

Definition at line 58 of file DODS_Time_Factory.h.

virtual DODS_Time_Factory::~DODS_Time_Factory ( )
inlinevirtual

Definition at line 61 of file DODS_Time_Factory.h.

DODS_Time_Factory::DODS_Time_Factory ( DDS &  dds,
const string &  attribute_name = "DODS_Time" 
)

Read the configuration information and decide how to build DODS_Time objects.

The DODS_Time_Factory member function #get_time()# will return DODS_Time objects.

See also
get()
Parameters
ddsThe DDS of the dataset from which times are to be read.
dasThe DAS of the dataset from which times are to be read.
attribute_nameThe name of the attribute container in the DAS that holds configuration inforamtion for the instance of DODS_Time.

Definition at line 51 of file DODS_Time_Factory.cc.

References is_float_type(), and is_integer_type().

Here is the call graph for this function:

Member Function Documentation

DODS_Time DODS_Time_Factory::get ( )
virtual

Read a time value from a dataset.

Returns
The DODS_Time object associated with the time.

Definition at line 93 of file DODS_Time_Factory.cc.

References get_float_value(), and get_integer_value().

Referenced by DODS_Date_Time_Factory::get(), DODS_EndDate_Time_Factory::get(), and DODS_StartDate_Time_Factory::get().

Here is the call graph for this function:


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