libfoedus-core
FOEDUS Core Library
foedus::fs::SpaceInfo Struct Reference

Analogue of boost::filesystem::space_info. More...

Detailed Description

Analogue of boost::filesystem::space_info.

all values are byte counts.

Definition at line 110 of file filesystem.hpp.

#include <filesystem.hpp>

Public Attributes

uint64_t capacity_
 
uint64_t free_
 Less than capacity_. More...
 
uint64_t available_
 Less than free_. More...
 

Friends

std::ostream & operator<< (std::ostream &o, const SpaceInfo &v)
 

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
const SpaceInfo v 
)
friend

Definition at line 193 of file filesystem.cpp.

193  {
194  o << "SpaceInfo: available_=" << v.available_ << ", capacity_=" << v.capacity_
195  << ", free_=" << v.free_;
196  return o;
197 }

Member Data Documentation

uint64_t foedus::fs::SpaceInfo::available_

Less than free_.

Definition at line 115 of file filesystem.hpp.

Referenced by foedus::fs::operator<<().

uint64_t foedus::fs::SpaceInfo::capacity_

Definition at line 111 of file filesystem.hpp.

Referenced by foedus::fs::operator<<(), and foedus::fs::space().

uint64_t foedus::fs::SpaceInfo::free_

Less than capacity_.

Definition at line 113 of file filesystem.hpp.

Referenced by foedus::fs::operator<<().


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