GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "oct-time.h"
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 |
long | gmtoff (void) const |
octave_base_tm & | gmtoff (long v) |
int | hour (void) const |
octave_base_tm & | hour (int v) |
int | isdst (void) const |
octave_base_tm & | isdst (int v) |
int | mday (void) const |
octave_base_tm & | mday (int v) |
int | min (void) const |
octave_base_tm & | min (int v) |
int | mon (void) const |
octave_base_tm & | mon (int v) |
octave_base_tm & | operator= (const octave_base_tm &tm) |
int | sec (void) const |
octave_base_tm & | sec (int v) |
std::string | strftime (const std::string &fmt) const |
int | usec (void) const |
octave_base_tm & | usec (int v) |
int | wday (void) const |
octave_base_tm & | wday (int v) |
int | yday (void) const |
octave_base_tm & | yday (int v) |
int | year (void) const |
octave_base_tm & | year (int v) |
std::string | zone (void) const |
octave_base_tm & | zone (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 |
Definition at line 168 of file oct-time.h.
|
inline |
Definition at line 174 of file oct-time.h.
|
inline |
Definition at line 180 of file oct-time.h.
|
inlinevirtual |
Definition at line 208 of file oct-time.h.
|
inline |
Definition at line 238 of file oct-time.h.
References strftime().
|
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 | ) |
Definition at line 130 of file oct-time.cc.
Definition at line 213 of file oct-time.h.
References tm_hour.
Referenced by extract_tm(), octave_rand::initialize_ranlib_generators(), mk_tm_map(), and octave_time::octave_time().
octave_base_tm & octave_base_tm::hour | ( | int | v | ) |
Definition at line 122 of file oct-time.cc.
Definition at line 201 of file oct-time.cc.
References tm_gmtoff, tm_hour, tm_isdst, tm_mday, tm_min, tm_mon, tm_sec, tm_wday, tm_yday, tm_year, and tm_zone.
Referenced by octave_gmtime::octave_gmtime(), octave_localtime::octave_localtime(), and octave_strptime::octave_strptime().
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 | ) |
Definition at line 129 of file oct-time.cc.
Definition at line 214 of file oct-time.h.
References tm_mday.
Referenced by extract_tm(), octave_rand::initialize_ranlib_generators(), mk_tm_map(), and octave_time::octave_time().
octave_base_tm & octave_base_tm::mday | ( | int | v | ) |
Definition at line 123 of file oct-time.cc.
Definition at line 212 of file oct-time.h.
References tm_min.
Referenced by extract_tm(), octave_strptime::init(), octave_rand::initialize_ranlib_generators(), mk_tm_map(), and octave_time::octave_time().
octave_base_tm & octave_base_tm::min | ( | int | v | ) |
Definition at line 121 of file oct-time.cc.
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::mon | ( | int | v | ) |
Definition at line 124 of file oct-time.cc.
|
inline |
Definition at line 187 of file oct-time.h.
References tm_gmtoff, tm_hour, tm_isdst, tm_mday, tm_min, tm_mon, tm_sec, tm_usec, tm_wday, tm_yday, tm_year, and tm_zone.
Referenced by octave_localtime::operator=(), octave_gmtime::operator=(), and octave_strptime::operator=().
Definition at line 211 of file oct-time.h.
References tm_sec.
Referenced by extract_tm(), octave_rand::initialize_ranlib_generators(), mk_tm_map(), and octave_time::octave_time().
octave_base_tm & octave_base_tm::sec | ( | int | v | ) |
Definition at line 120 of file oct-time.cc.
std::string octave_base_tm::strftime | ( | const std::string & | fmt | ) | const |
Definition at line 144 of file oct-time.cc.
References STRFTIME_BUF_INITIAL_SIZE, strsave(), tm_gmtoff, tm_hour, tm_isdst, tm_mday, tm_min, tm_mon, tm_sec, tm_wday, tm_yday, tm_year, and tm_zone.
Referenced by asctime(), DEFUN_DLD(), command_editor::do_decode_prompt_string(), Fstrftime(), octave_history_write_timestamp(), and write_header().
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 | ) |
Definition at line 119 of file oct-time.cc.
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 | ) |
Definition at line 127 of file oct-time.cc.
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 | ) |
Definition at line 128 of file oct-time.cc.
Definition at line 216 of file oct-time.h.
References tm_year.
Referenced by extract_tm(), mk_tm_map(), and octave_time::octave_time().
octave_base_tm & octave_base_tm::year | ( | int | v | ) |
Definition at line 126 of file oct-time.cc.
|
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 133 of file oct-time.cc.
|
protected |
Definition at line 274 of file oct-time.h.
Referenced by gmtoff(), init(), operator=(), and strftime().
|
protected |
Definition at line 253 of file oct-time.h.
Referenced by hour(), init(), operator=(), and strftime().
|
protected |
Definition at line 271 of file oct-time.h.
Referenced by init(), isdst(), operator=(), and strftime().
|
protected |
Definition at line 256 of file oct-time.h.
Referenced by init(), mday(), operator=(), and strftime().
|
protected |
Definition at line 250 of file oct-time.h.
Referenced by init(), min(), operator=(), and strftime().
|
protected |
Definition at line 259 of file oct-time.h.
Referenced by init(), mon(), operator=(), and strftime().
|
protected |
Definition at line 247 of file oct-time.h.
Referenced by init(), octave_time::octave_time(), operator=(), sec(), and strftime().
|
protected |
Definition at line 244 of file oct-time.h.
Referenced by octave_localtime::init(), octave_gmtime::init(), operator=(), and usec().
|
protected |
Definition at line 265 of file oct-time.h.
Referenced by init(), operator=(), strftime(), and wday().
|
protected |
Definition at line 268 of file oct-time.h.
Referenced by init(), operator=(), strftime(), and yday().
|
protected |
Definition at line 262 of file oct-time.h.
Referenced by init(), operator=(), strftime(), and year().
|
protected |
Definition at line 277 of file oct-time.h.
Referenced by init(), operator=(), strftime(), and zone().