Rcpp Version 1.0.7
Rcpp::attributes::FileInfo Class Reference

Public Member Functions

 FileInfo (const std::string &path)
 
 FileInfo (const List &fileInfo)
 
List toList () const
 
std::string path () const
 
bool exists () const
 
double lastModified () const
 
std::string extension () const
 
bool operator< (const FileInfo &other) const
 
bool operator== (const FileInfo &other) const
 
bool operator!= (const FileInfo &other) const
 
std::ostream & operator<< (std::ostream &os) const
 

Private Attributes

std::string path_
 
bool exists_
 
double lastModified_
 

Detailed Description

Definition at line 53 of file attributes.cpp.

Constructor & Destructor Documentation

◆ FileInfo() [1/2]

Rcpp::attributes::FileInfo::FileInfo ( const std::string &  path)
explicit

Definition at line 2899 of file attributes.cpp.

References exists_, lastModified_, and path().

Here is the call graph for this function:

◆ FileInfo() [2/2]

Rcpp::attributes::FileInfo::FileInfo ( const List fileInfo)
inlineexplicit

Definition at line 62 of file attributes.cpp.

References exists_, lastModified_, and path_.

Member Function Documentation

◆ exists()

bool Rcpp::attributes::FileInfo::exists ( ) const
inline

Definition at line 78 of file attributes.cpp.

◆ extension()

std::string Rcpp::attributes::FileInfo::extension ( ) const
inline

Definition at line 81 of file attributes.cpp.

◆ lastModified()

double Rcpp::attributes::FileInfo::lastModified ( ) const
inline

Definition at line 79 of file attributes.cpp.

◆ operator!=()

bool Rcpp::attributes::FileInfo::operator!= ( const FileInfo other) const
inline

Definition at line 99 of file attributes.cpp.

◆ operator<()

bool Rcpp::attributes::FileInfo::operator< ( const FileInfo other) const
inline

Definition at line 89 of file attributes.cpp.

◆ operator<<()

std::ostream& Rcpp::attributes::FileInfo::operator<< ( std::ostream &  os) const
inline

Definition at line 103 of file attributes.cpp.

◆ operator==()

bool Rcpp::attributes::FileInfo::operator== ( const FileInfo other) const
inline

Definition at line 93 of file attributes.cpp.

◆ path()

std::string Rcpp::attributes::FileInfo::path ( ) const
inline

Definition at line 77 of file attributes.cpp.

Referenced by FileInfo().

◆ toList()

List Rcpp::attributes::FileInfo::toList ( ) const
inline

Definition at line 69 of file attributes.cpp.

Member Data Documentation

◆ exists_

bool Rcpp::attributes::FileInfo::exists_
private

Definition at line 110 of file attributes.cpp.

Referenced by FileInfo().

◆ lastModified_

double Rcpp::attributes::FileInfo::lastModified_
private

Definition at line 111 of file attributes.cpp.

Referenced by FileInfo().

◆ path_

std::string Rcpp::attributes::FileInfo::path_
private

Definition at line 109 of file attributes.cpp.

Referenced by FileInfo().


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