GNU Octave  4.2.1
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::sys::gmtime Class Reference

#include "oct-time.h"

Inheritance diagram for octave::sys::gmtime:
Inheritance graph
[legend]
Collaboration diagram for octave::sys::gmtime:
Collaboration graph
[legend]

Public Member Functions

 gmtime (void)
 
 gmtime (const time &ot)
 
 ~gmtime (void)
 
std::string asctime (void) const
 
long gmtoff (void) const
 
base_tmgmtoff (long v)
 
int hour (void) const
 
base_tmhour (int v)
 
int isdst (void) const
 
base_tmisdst (int v)
 
int mday (void) const
 
base_tmmday (int v)
 
int min (void) const
 
base_tmmin (int v)
 
int mon (void) const
 
base_tmmon (int v)
 
gmtimeoperator= (const gmtime &t)
 
int sec (void) const
 
base_tmsec (int v)
 
std::string strftime (const std::string &fmt) const
 
int usec (void) const
 
base_tmusec (int v)
 
int wday (void) const
 
base_tmwday (int v)
 
int yday (void) const
 
base_tmyday (int v)
 
int year (void) const
 
base_tmyear (int v)
 
std::string zone (void) const
 
base_tmzone (const std::string &s)
 

Protected Member Functions

void init (void *p)
 

Protected Attributes

long m_gmtoff
 
int m_hour
 
int m_isdst
 
int m_mday
 
int m_min
 
int m_mon
 
int m_sec
 
int m_usec
 
int m_wday
 
int m_yday
 
int m_year
 
std::string m_zone
 

Private Member Functions

void init (const time &ot)
 

Detailed Description

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

Constructor & Destructor Documentation

octave::sys::gmtime::gmtime ( void  )
inline

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

octave::sys::gmtime::gmtime ( const time ot)
inline

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

octave::sys::gmtime::~gmtime ( void  )
inline

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

Member Function Documentation

std::string octave::sys::base_tm::asctime ( void  ) const
inlineinherited

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

Referenced by octave::sys::time::ctime().

long octave::sys::base_tm::gmtoff ( void  ) const
inlineinherited

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

Referenced by extract_tm(), mk_tm_map(), and octave::sys::time::time().

base_tm & octave::sys::base_tm::gmtoff ( long  v)
inherited

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

int octave::sys::base_tm::hour ( void  ) const
inlineinherited
base_tm & octave::sys::base_tm::hour ( int  v)
inherited

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

void octave::sys::base_tm::init ( void *  p)
protectedinherited
void octave::sys::gmtime::init ( const time ot)
private
int octave::sys::base_tm::isdst ( void  ) const
inlineinherited

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

Referenced by extract_tm(), mk_tm_map(), and octave::sys::time::time().

base_tm & octave::sys::base_tm::isdst ( int  v)
inherited

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

int octave::sys::base_tm::mday ( void  ) const
inlineinherited
base_tm & octave::sys::base_tm::mday ( int  v)
inherited

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

int octave::sys::base_tm::min ( void  ) const
inlineinherited
base_tm & octave::sys::base_tm::min ( int  v)
inherited

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

int octave::sys::base_tm::mon ( void  ) const
inlineinherited

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

Referenced by extract_tm(), mk_tm_map(), and octave::sys::time::time().

base_tm & octave::sys::base_tm::mon ( int  v)
inherited

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

gmtime& octave::sys::gmtime::operator= ( const gmtime t)
inline

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

References octave::sys::base_tm::operator=().

int octave::sys::base_tm::sec ( void  ) const
inlineinherited
base_tm & octave::sys::base_tm::sec ( int  v)
inherited

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

std::string octave::sys::base_tm::strftime ( const std::string fmt) const
inherited
int octave::sys::base_tm::usec ( void  ) const
inlineinherited

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

Referenced by extract_tm(), mk_tm_map(), and octave::sys::time::time().

base_tm & octave::sys::base_tm::usec ( int  v)
inherited

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

int octave::sys::base_tm::wday ( void  ) const
inlineinherited

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

Referenced by extract_tm(), mk_tm_map(), and octave::sys::time::time().

base_tm & octave::sys::base_tm::wday ( int  v)
inherited

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

int octave::sys::base_tm::yday ( void  ) const
inlineinherited

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

Referenced by extract_tm(), mk_tm_map(), and octave::sys::time::time().

base_tm & octave::sys::base_tm::yday ( int  v)
inherited

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

int octave::sys::base_tm::year ( void  ) const
inlineinherited

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

Referenced by extract_tm(), mk_tm_map(), and octave::sys::time::time().

base_tm & octave::sys::base_tm::year ( int  v)
inherited

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

std::string octave::sys::base_tm::zone ( void  ) const
inlineinherited

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

Referenced by extract_tm(), mk_tm_map(), and octave::sys::time::time().

base_tm & octave::sys::base_tm::zone ( const std::string s)
inherited

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

References s.

Member Data Documentation

long octave::sys::base_tm::m_gmtoff
protectedinherited
int octave::sys::base_tm::m_hour
protectedinherited
int octave::sys::base_tm::m_isdst
protectedinherited
int octave::sys::base_tm::m_mday
protectedinherited
int octave::sys::base_tm::m_min
protectedinherited
int octave::sys::base_tm::m_mon
protectedinherited
int octave::sys::base_tm::m_sec
protectedinherited
int octave::sys::base_tm::m_usec
protectedinherited

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

Referenced by octave::sys::localtime::init(), init(), and octave::sys::base_tm::operator=().

int octave::sys::base_tm::m_wday
protectedinherited
int octave::sys::base_tm::m_yday
protectedinherited
int octave::sys::base_tm::m_year
protectedinherited
std::string octave::sys::base_tm::m_zone
protectedinherited

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