This class is available for the OPUS Blackboard API. The initial OPUS 2.0 release is described here
Constructors:
Start_time( ) | |
~Start_time( ) |
Methods:
clone( ) | create copy of object |
name( ) | get field name |
Description
Start_time objects contain the process start time in seconds since the Epoch (00:00 Januray 1, 1970) encoded in hexadecimal.
Derived from
See Also:
Start_time::Start_time - The Start_time constructor.
Synopsis
Start_time::Start_time() : Opus_time_stamp(Bb_params_db::get_id("START_TIME"), Bb_params_db::get_size("START_TIME")) Start_time::Start_time( const string& s) // I - time stamp string Start_time::Start_time( const Start_time& di) // I - object to initialize from
Description
The constructor initializes the object with the calling argument (if provided). The default constructor places the current system time in hex format into the object. Arguments must contain a correctly formatted time stamp.
Exceptions Thrown
Bad_val<string> | - if string contains invalid characters or wrong size; Bad_val.arg contains the calling argument |
Start_time::~Start_time - The Start_time destructor.
Synopsis
Start_time::~Start_time()
Description
This method destroys the object.
Exceptions Thrown
Start_time::clone - Create a copy of this object.
Synopsis
Field* Start_time::clone() const
Description
This method creates a new Start_time object, initialized by this object, off the heap and returns a pointer to the new object. The client should delete the returned object when it is no longer needed.
Returns
A pointer to the new Start_time object initialized by this object.
Exceptions Thrown
Start_time::name - Get the field name
Synopsis
string Start_time::name() const
Description
This method returns the name of the field, "START_TIME".
Returns
string field name
Exceptions Thrown
Copyright © 1997-2000 The Association of Universities for
Research in Astronomy, Inc. All Rights Reserved.
For more information, contact opushelp@stsci.edu
Last modified: 25 April 2000