BdsApi 4.0.2
This is the Blacknest BDS API.
Loading...
Searching...
No Matches
Bds::TimePeriod Class Reference

This class defines a TimePeriod. More...

#include <BdsD.h>

Inheritance diagram for Bds::TimePeriod:
BObj

Public Member Functions

 TimePeriod (BTimeStamp startTime=BTimeStamp(), BTimeStamp endTime=BTimeStamp())
 
const char * getType () const
 
BError setMembers (BDictString &members)
 
BError setMember (BString name, BString value)
 
BError getMembers (BDictString &members)
 
BError getMember (BString name, BString &value)
 
- Public Member Functions inherited from BObj
 BObj ()
 
virtual ~BObj ()
 
virtual const BObjMember * getMembers () const
 
virtual void membersPrint () const
 
virtual BString getDebugString ()
 

Public Attributes

BTimeStamp startTime
 The Start time to the nearest us.
 
BTimeStamp endTime
 The End time to the nearest us.
 

Detailed Description

This class defines a TimePeriod.

It has startTime and endTime fields. Note the endTime is just after the actual period.

Constructor & Destructor Documentation

◆ TimePeriod()

Bds::TimePeriod::TimePeriod ( BTimeStamp startTime = BTimeStamp(),
BTimeStamp endTime = BTimeStamp() )

Member Function Documentation

◆ getType()

const char * Bds::TimePeriod::getType ( ) const
virtual

Reimplemented from BObj.

◆ setMembers()

BError Bds::TimePeriod::setMembers ( BDictString & members)
virtual

Reimplemented from BObj.

◆ setMember()

BError Bds::TimePeriod::setMember ( BString name,
BString value )
virtual

Reimplemented from BObj.

◆ getMembers()

BError Bds::TimePeriod::getMembers ( BDictString & members)
virtual

Reimplemented from BObj.

◆ getMember()

BError Bds::TimePeriod::getMember ( BString name,
BString & value )
virtual

Reimplemented from BObj.

Member Data Documentation

◆ startTime

BTimeStamp Bds::TimePeriod::startTime

The Start time to the nearest us.

◆ endTime

BTimeStamp Bds::TimePeriod::endTime

The End time to the nearest us.


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