C++ edjLibrary SDK
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
edjx::storage::FileAttributes Struct Reference

Represents the attributes associated with a stored file. More...

#include <storage.hpp>

Public Member Functions

 FileAttributes ()
 Construct an empty file attributes object. More...
 
 FileAttributes (bool properties_present, const std::map< std::string, std::string > &properties, bool default_version_present, const std::string &default_version)
 Construct a new File Attributes object. More...
 

Public Attributes

bool properties_present
 Whether file properties are defined. More...
 
std::map< std::string, std::string > properties
 File properties. More...
 
bool default_version_present
 Whether default version is present. More...
 
std::string default_version
 Default version. More...
 

Detailed Description

Represents the attributes associated with a stored file.

Constructor & Destructor Documentation

◆ FileAttributes() [1/2]

edjx::storage::FileAttributes::FileAttributes ( )
inline

Construct an empty file attributes object.

◆ FileAttributes() [2/2]

edjx::storage::FileAttributes::FileAttributes ( bool  properties_present,
const std::map< std::string, std::string > &  properties,
bool  default_version_present,
const std::string &  default_version 
)
inline

Construct a new File Attributes object.

Parameters
properties_presentWhether file properties are present
propertiesFile properties
default_version_presentWhether default version is present
default_versionDefault version

Member Data Documentation

◆ default_version

std::string edjx::storage::FileAttributes::default_version

Default version.

◆ default_version_present

bool edjx::storage::FileAttributes::default_version_present

Whether default version is present.

◆ properties

std::map<std::string, std::string> edjx::storage::FileAttributes::properties

File properties.

◆ properties_present

bool edjx::storage::FileAttributes::properties_present

Whether file properties are defined.


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