Rcpp Version 1.1.2
Loading...
Searching...
No Matches
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 49 of file attributes.cpp.

Constructor & Destructor Documentation

◆ FileInfo() [1/2]

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

Definition at line 2978 of file attributes.cpp.

References exists_, lastModified_, path(), and path_.

Referenced by operator!=(), operator<(), and operator==().

Here is the call graph for this function:

◆ FileInfo() [2/2]

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

Definition at line 56 of file attributes.cpp.

References Rcpp::as(), exists_, lastModified_, and path_.

Here is the call graph for this function:

Member Function Documentation

◆ exists()

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

Definition at line 72 of file attributes.cpp.

References exists_.

◆ extension()

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

Definition at line 75 of file attributes.cpp.

References path_.

◆ lastModified()

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

Definition at line 73 of file attributes.cpp.

References lastModified_.

◆ operator!=()

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

Definition at line 93 of file attributes.cpp.

References FileInfo().

Here is the call graph for this function:

◆ operator<()

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

Definition at line 83 of file attributes.cpp.

References FileInfo(), and path_.

Here is the call graph for this function:

◆ operator<<()

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

Definition at line 97 of file attributes.cpp.

References path_.

◆ operator==()

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

Definition at line 87 of file attributes.cpp.

References exists_, FileInfo(), lastModified_, and path_.

Here is the call graph for this function:

◆ path()

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

Definition at line 71 of file attributes.cpp.

References path_.

Referenced by FileInfo().

◆ toList()

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

Definition at line 63 of file attributes.cpp.

References exists_, lastModified_, and path_.

Member Data Documentation

◆ exists_

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

Definition at line 104 of file attributes.cpp.

Referenced by exists(), FileInfo(), FileInfo(), operator==(), and toList().

◆ lastModified_

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

Definition at line 105 of file attributes.cpp.

Referenced by FileInfo(), FileInfo(), lastModified(), operator==(), and toList().

◆ path_

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

Definition at line 103 of file attributes.cpp.

Referenced by extension(), FileInfo(), FileInfo(), operator<(), operator<<(), operator==(), path(), and toList().


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