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

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

#include <DODS_Date_Factory.h>

Inheritance diagram for DODS_Date_Factory:
Inheritance graph
Collaboration diagram for DODS_Date_Factory:
Collaboration graph

Public Member Functions

virtual ~DODS_Date_Factory ()
 
Constructors

Note that the default constructor is private.

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

Protected Member Functions

 DODS_Date_Factory ()
 

Detailed Description

Read dates from datasets based on text configuration values.

Dates are returned using DODS_Date objects.

See also
DODS_Date
Author
James Gallagher

Definition at line 50 of file DODS_Date_Factory.h.

Constructor & Destructor Documentation

DODS_Date_Factory::DODS_Date_Factory ( )
inlineprotected

Definition at line 63 of file DODS_Date_Factory.h.

virtual DODS_Date_Factory::~DODS_Date_Factory ( )
inlinevirtual

Definition at line 66 of file DODS_Date_Factory.h.

DODS_Date_Factory::DODS_Date_Factory ( DDS &  dds,
const string &  attribute_name = "DODS_Date" 
)

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

The DODS_Date_Factory member function #get_date()# will return DODS_Date objects.

See also
get_date()
Parameters
ddsThe DDS of the dataset from which dates are to be read.
dasThe DAS of the dataset from which dates are to be read.
attribute_nameThe name of the attribute container where configuration information for the #date# servers-side function can be found.

Definition at line 51 of file DODS_Date_Factory.cc.

References is_integer_type(), NULL, yd, ym, and ymd.

Here is the call graph for this function:

Member Function Documentation

DODS_Date DODS_Date_Factory::get ( )
virtual

Read a date value from a dataset.

Returns
The DODS_Date object associated with the date.

Definition at line 160 of file DODS_Date_Factory.cc.

References get_integer_value(), yd, ym, and ymd.

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: