GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
file_time Class Reference

#include "oct-time.h"

Public Member Functions

 file_time ()
 
 file_time (const file_time &ot)
 
 file_time (const std::string &filename)
 
 file_time (OCTAVE_TIME_T t)
 
 ~file_time ()=default
 
bool operator!= (const file_time &t2) const
 
file_time operator+ (const file_time &t2) const
 
file_time operator+ (const OCTAVE_TIME_T t2) const
 
bool operator< (const file_time &t2) const
 
bool operator<= (const file_time &t2) const
 
file_timeoperator= (const file_time &ot)
 
bool operator== (const file_time &t2) const
 
bool operator> (const file_time &t2) const
 
bool operator>= (const file_time &t2) const
 
OCTAVE_TIME_T time () const
 

Static Public Member Functions

static file_time time_resolution ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ file_time() [1/4]

file_time::file_time ( )

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

References octave_gettimeofday_wrapper().

◆ file_time() [2/4]

file_time::file_time ( OCTAVE_TIME_T  t)
inline

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

◆ file_time() [3/4]

file_time::file_time ( const std::string &  filename)

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

References base_file_stat::mtime(), and u8_to_wstring().

◆ file_time() [4/4]

file_time::file_time ( const file_time ot)
inline

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

References time().

◆ ~file_time()

file_time::~file_time ( )
default

Member Function Documentation

◆ operator!=()

bool file_time::operator!= ( const file_time t2) const
inline

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

◆ operator+() [1/2]

file_time file_time::operator+ ( const file_time t2) const
inline

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

References time().

◆ operator+() [2/2]

file_time file_time::operator+ ( const OCTAVE_TIME_T  t2) const
inline

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

◆ operator<()

bool file_time::operator< ( const file_time t2) const
inline

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

References time().

◆ operator<=()

bool file_time::operator<= ( const file_time t2) const
inline

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

◆ operator=()

file_time& file_time::operator= ( const file_time ot)
inline

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

References time().

◆ operator==()

bool file_time::operator== ( const file_time t2) const
inline

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

References time().

◆ operator>()

bool file_time::operator> ( const file_time t2) const
inline

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

References time().

◆ operator>=()

bool file_time::operator>= ( const file_time t2) const
inline

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

◆ time()

OCTAVE_TIME_T file_time::time ( ) const
inline

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

Referenced by file_time(), operator+(), operator<(), operator=(), operator==(), and operator>().

◆ time_resolution()

static file_time file_time::time_resolution ( )
inlinestatic

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


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