Public Member Functions | Protected Member Functions | Protected Attributes

octave_base_tm Class Reference

#include "oct-time.h"

Inheritance diagram for octave_base_tm:
Inheritance graph
[legend]
Collaboration diagram for octave_base_tm:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 octave_base_tm (void)
 octave_base_tm (const octave_base_tm &tm)
virtual ~octave_base_tm (void)
std::string asctime (void) const
octave_base_tmgmtoff (long v)
long gmtoff (void) const
int hour (void) const
octave_base_tmhour (int v)
octave_base_tmisdst (int v)
int isdst (void) const
int mday (void) const
octave_base_tmmday (int v)
int min (void) const
octave_base_tmmin (int v)
int mon (void) const
octave_base_tmmon (int v)
octave_base_tmoperator= (const octave_base_tm &tm)
octave_base_tmsec (int v)
int sec (void) const
std::string strftime (const std::string &fmt) const
octave_base_tmusec (int v)
int usec (void) const
octave_base_tmwday (int v)
int wday (void) const
octave_base_tmyday (int v)
int yday (void) const
int year (void) const
octave_base_tmyear (int v)
octave_base_tmzone (const std::string &s)
std::string zone (void) const

Protected Member Functions

void init (void *p)

Protected Attributes

long tm_gmtoff
int tm_hour
int tm_isdst
int tm_mday
int tm_min
int tm_mon
int tm_sec
int tm_usec
int tm_wday
int tm_yday
int tm_year
std::string tm_zone

Detailed Description

Definition at line 168 of file oct-time.h.


Constructor & Destructor Documentation

octave_base_tm::octave_base_tm ( void   )  [inline]

Definition at line 174 of file oct-time.h.

octave_base_tm::octave_base_tm ( const octave_base_tm tm  )  [inline]

Definition at line 180 of file oct-time.h.

virtual octave_base_tm::~octave_base_tm ( void   )  [inline, virtual]

Definition at line 208 of file oct-time.h.


Member Function Documentation

std::string octave_base_tm::asctime ( void   )  const [inline]

Definition at line 238 of file oct-time.h.

References strftime().

long octave_base_tm::gmtoff ( void   )  const [inline]

Definition at line 220 of file oct-time.h.

References tm_gmtoff.

Referenced by octave_time::octave_time().

octave_base_tm& octave_base_tm::gmtoff ( long  v  ) 
octave_base_tm& octave_base_tm::hour ( int  v  ) 
int octave_base_tm::hour ( void   )  const [inline]
void octave_base_tm::init ( void *  p  )  [protected]
int octave_base_tm::isdst ( void   )  const [inline]

Definition at line 219 of file oct-time.h.

References tm_isdst.

Referenced by extract_tm(), mk_tm_map(), and octave_time::octave_time().

octave_base_tm& octave_base_tm::isdst ( int  v  ) 
octave_base_tm& octave_base_tm::mday ( int  v  ) 
int octave_base_tm::mday ( void   )  const [inline]
octave_base_tm& octave_base_tm::min ( int  v  ) 
int octave_base_tm::min ( void   )  const [inline]
octave_base_tm& octave_base_tm::mon ( int  v  ) 
int octave_base_tm::mon ( void   )  const [inline]

Definition at line 215 of file oct-time.h.

References tm_mon.

Referenced by extract_tm(), mk_tm_map(), and octave_time::octave_time().

octave_base_tm& octave_base_tm::operator= ( const octave_base_tm tm  )  [inline]
int octave_base_tm::sec ( void   )  const [inline]
octave_base_tm& octave_base_tm::sec ( int  v  ) 
std::string octave_base_tm::strftime ( const std::string &  fmt  )  const
int octave_base_tm::usec ( void   )  const [inline]

Definition at line 210 of file oct-time.h.

References tm_usec.

Referenced by extract_tm(), mk_tm_map(), and octave_time::octave_time().

octave_base_tm& octave_base_tm::usec ( int  v  ) 
int octave_base_tm::wday ( void   )  const [inline]

Definition at line 217 of file oct-time.h.

References tm_wday.

Referenced by extract_tm(), mk_tm_map(), and octave_time::octave_time().

octave_base_tm& octave_base_tm::wday ( int  v  ) 
int octave_base_tm::yday ( void   )  const [inline]

Definition at line 218 of file oct-time.h.

References tm_yday.

Referenced by extract_tm(), mk_tm_map(), and octave_time::octave_time().

octave_base_tm& octave_base_tm::yday ( int  v  ) 
octave_base_tm& octave_base_tm::year ( int  v  ) 
int octave_base_tm::year ( void   )  const [inline]

Definition at line 216 of file oct-time.h.

References tm_year.

Referenced by extract_tm(), mk_tm_map(), and octave_time::octave_time().

std::string octave_base_tm::zone ( void   )  const [inline]

Definition at line 221 of file oct-time.h.

References tm_zone.

Referenced by extract_tm(), mk_tm_map(), and octave_time::octave_time().

octave_base_tm & octave_base_tm::zone ( const std::string &  s  ) 

Definition at line 131 of file oct-time.cc.


Member Data Documentation

long octave_base_tm::tm_gmtoff [protected]

Definition at line 274 of file oct-time.h.

Referenced by gmtoff(), init(), operator=(), and strftime().

Definition at line 253 of file oct-time.h.

Referenced by hour(), init(), operator=(), and strftime().

Definition at line 271 of file oct-time.h.

Referenced by init(), isdst(), operator=(), and strftime().

Definition at line 256 of file oct-time.h.

Referenced by init(), mday(), operator=(), and strftime().

Definition at line 250 of file oct-time.h.

Referenced by init(), min(), operator=(), and strftime().

Definition at line 259 of file oct-time.h.

Referenced by init(), mon(), operator=(), and strftime().

Definition at line 247 of file oct-time.h.

Referenced by init(), octave_time::octave_time(), operator=(), sec(), and strftime().

Definition at line 244 of file oct-time.h.

Referenced by octave_gmtime::init(), octave_localtime::init(), operator=(), and usec().

Definition at line 265 of file oct-time.h.

Referenced by init(), operator=(), strftime(), and wday().

Definition at line 268 of file oct-time.h.

Referenced by init(), operator=(), strftime(), and yday().

Definition at line 262 of file oct-time.h.

Referenced by init(), operator=(), strftime(), and year().

std::string octave_base_tm::tm_zone [protected]

Definition at line 277 of file oct-time.h.

Referenced by init(), operator=(), strftime(), and zone().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines