Minsky
anonymous_namespace{CSVDialog.cc}::CacheEntry Struct Reference
Collaboration diagram for anonymous_namespace{CSVDialog.cc}::CacheEntry:
Collaboration graph

Public Member Functions

 CacheEntry (const string &url)
 
 ~CacheEntry ()
 
bool operator< (const CacheEntry &x) const
 

Public Attributes

chrono::time_point< chrono::system_clock > timestamp
 
string url
 
string filename
 

Detailed Description

Definition at line 61 of file CSVDialog.cc.

Constructor & Destructor Documentation

◆ CacheEntry()

anonymous_namespace{CSVDialog.cc}::CacheEntry::CacheEntry ( const string &  url)
inline

Definition at line 65 of file CSVDialog.cc.

65  : timestamp(chrono::system_clock::now()), url(url),
66  filename(boost::filesystem::unique_path().string()) {}
chrono::time_point< chrono::system_clock > timestamp
Definition: CSVDialog.cc:63

◆ ~CacheEntry()

anonymous_namespace{CSVDialog.cc}::CacheEntry::~CacheEntry ( )
inline

Definition at line 67 of file CSVDialog.cc.

References minsky::remove().

void remove(std::vector< T > &x, const V &v)
remove an element from a vector. V must be comparable to a T
Definition: str.h:89
Here is the call graph for this function:

Member Function Documentation

◆ operator<()

bool anonymous_namespace{CSVDialog.cc}::CacheEntry::operator< ( const CacheEntry x) const
inline

Definition at line 68 of file CSVDialog.cc.

References url.

Member Data Documentation

◆ filename

string anonymous_namespace{CSVDialog.cc}::CacheEntry::filename

Definition at line 64 of file CSVDialog.cc.

◆ timestamp

chrono::time_point<chrono::system_clock> anonymous_namespace{CSVDialog.cc}::CacheEntry::timestamp

Definition at line 63 of file CSVDialog.cc.

◆ url

string anonymous_namespace{CSVDialog.cc}::CacheEntry::url

Definition at line 64 of file CSVDialog.cc.

Referenced by operator<().


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