GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
octave_gmtime Class Reference

#include "oct-time.h"

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

Public Member Functions

 octave_gmtime (void)
 octave_gmtime (const octave_time &ot)
 ~octave_gmtime (void)
std::string asctime (void) const
long gmtoff (void) const
octave_base_tmgmtoff (long v)
int hour (void) const
octave_base_tmhour (int v)
int isdst (void) const
octave_base_tmisdst (int v)
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_gmtimeoperator= (const octave_gmtime &t)
int sec (void) const
octave_base_tmsec (int v)
std::string strftime (const std::string &fmt) const
int usec (void) const
octave_base_tmusec (int v)
int wday (void) const
octave_base_tmwday (int v)
int yday (void) const
octave_base_tmyday (int v)
int year (void) const
octave_base_tmyear (int v)
std::string zone (void) const
octave_base_tmzone (const std::string &s)

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

Private Member Functions

void init (const octave_time &ot)

Detailed Description

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

Constructor & Destructor Documentation

octave_gmtime::octave_gmtime ( void  )
inline

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

References octave_base_tm::init().

octave_gmtime::octave_gmtime ( const octave_time ot)
inline

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

References octave_base_tm::init().

octave_gmtime::~octave_gmtime ( void  )
inline

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

Member Function Documentation

std::string octave_base_tm::asctime ( void  ) const
inlineinherited

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

References octave_base_tm::strftime().

long octave_base_tm::gmtoff ( void  ) const
inlineinherited

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

References octave_base_tm::tm_gmtoff.

Referenced by octave_time::octave_time().

octave_base_tm & octave_base_tm::gmtoff ( long  v)
inherited

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

int octave_base_tm::hour ( void  ) const
inlineinherited
octave_base_tm & octave_base_tm::hour ( int  v)
inherited

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

void octave_base_tm::init ( void p)
protectedinherited
void octave_gmtime::init ( const octave_time ot)
private
int octave_base_tm::isdst ( void  ) const
inlineinherited

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

References octave_base_tm::tm_isdst.

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

octave_base_tm & octave_base_tm::isdst ( int  v)
inherited

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

int octave_base_tm::mday ( void  ) const
inlineinherited
octave_base_tm & octave_base_tm::mday ( int  v)
inherited

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

int octave_base_tm::min ( void  ) const
inlineinherited
octave_base_tm & octave_base_tm::min ( int  v)
inherited

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

int octave_base_tm::mon ( void  ) const
inlineinherited

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

References octave_base_tm::tm_mon.

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

octave_base_tm & octave_base_tm::mon ( int  v)
inherited

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

octave_gmtime& octave_gmtime::operator= ( const octave_gmtime t)
inline

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

References octave_base_tm::operator=().

int octave_base_tm::sec ( void  ) const
inlineinherited
octave_base_tm & octave_base_tm::sec ( int  v)
inherited

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

std::string octave_base_tm::strftime ( const std::string &  fmt) const
inherited
int octave_base_tm::usec ( void  ) const
inlineinherited

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

References octave_base_tm::tm_usec.

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

octave_base_tm & octave_base_tm::usec ( int  v)
inherited

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

int octave_base_tm::wday ( void  ) const
inlineinherited

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

References octave_base_tm::tm_wday.

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

octave_base_tm & octave_base_tm::wday ( int  v)
inherited

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

int octave_base_tm::yday ( void  ) const
inlineinherited

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

References octave_base_tm::tm_yday.

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

octave_base_tm & octave_base_tm::yday ( int  v)
inherited

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

int octave_base_tm::year ( void  ) const
inlineinherited

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

References octave_base_tm::tm_year.

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

octave_base_tm & octave_base_tm::year ( int  v)
inherited

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

std::string octave_base_tm::zone ( void  ) const
inlineinherited

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

References octave_base_tm::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)
inherited

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

Member Data Documentation

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

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