Rcpp Version 0.12.12
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

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

Definition at line 56 of file attributes.cpp.

References exists_, lastModified_, and path_.

Member Function Documentation

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

Definition at line 75 of file attributes.cpp.

References path_.

Referenced by Rcpp::attributes::isRoxygenCpp().

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

Definition at line 73 of file attributes.cpp.

References lastModified_.

Referenced by Rcpp::attributes::isRoxygenCpp().

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

Definition at line 93 of file attributes.cpp.

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

Definition at line 83 of file attributes.cpp.

References path_.

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

Definition at line 97 of file attributes.cpp.

References path_.

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

Definition at line 87 of file attributes.cpp.

References exists_, lastModified_, and path_.

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

Definition at line 71 of file attributes.cpp.

References path_.

Referenced by Rcpp::attributes::isRoxygenCpp().

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

Definition at line 63 of file attributes.cpp.

References exists_, lastModified_, and path_.

Referenced by Rcpp::attributes::isRoxygenCpp().

Member Data Documentation

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

Definition at line 104 of file attributes.cpp.

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

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

Definition at line 105 of file attributes.cpp.

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

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

Definition at line 103 of file attributes.cpp.

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


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