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

#include "oct-time.h"

Inheritance diagram for strptime:
base_tm

Public Member Functions

 strptime ()=delete
 
 strptime (const std::string &str, const std::string &fmt)
 
int characters_converted () const
 
- Public Member Functions inherited from base_tm
 base_tm ()
 
 base_tm (const base_tm &tm)
 
virtual ~base_tm ()=default
 
std::string asctime () const
 
long gmtoff () const
 
base_tmgmtoff (long v)
 
int hour () const
 
base_tmhour (int v)
 
int isdst () const
 
base_tmisdst (int v)
 
int mday () const
 
base_tmmday (int v)
 
int min () const
 
base_tmmin (int v)
 
int mon () const
 
base_tmmon (int v)
 
base_tmoperator= (const base_tm &tm)
 
int sec () const
 
base_tmsec (int v)
 
std::string strftime (const std::string &fmt) const
 
int usec () const
 
base_tmusec (int v)
 
int wday () const
 
base_tmwday (int v)
 
int yday () const
 
base_tmyday (int v)
 
int year () const
 
base_tmyear (int v)
 
std::string zone () const
 
base_tmzone (const std::string &s)
 

Additional Inherited Members

- Protected Member Functions inherited from base_tm
void init (void *p)
 
- Protected Attributes inherited from base_tm
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
 

Detailed Description

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

Constructor & Destructor Documentation

◆ strptime() [1/2]

strptime::strptime ( )
delete

◆ strptime() [2/2]

strptime::strptime ( const std::string &  str,
const std::string &  fmt 
)
inline

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

References base_tm::init().

Member Function Documentation

◆ characters_converted()

int strptime::characters_converted ( ) const
inline

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


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