Muster SDK  8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MClientLib::MDrive Class Reference

#include <MDrive.h>

Public Member Functions

 MDrive ()
 
 ~MDrive ()
 
std::string getMountPoint ()
 
std::string getName ()
 
unsigned long long int getMountPointTotalSize ()
 
unsigned long long int getMountPointFreeSpace ()
 
void setMountPoint (const std::string &)
 
void setName (const std::string &)
 
void setMountPointTotalSize (unsigned long long int)
 
void setMountPointFreeSpace (unsigned long long int)
 
bool Unmarshall (std::vector< std::string > &items)
 
bool Unmarshall (const char *data)
 
std::string Marshall ()
 

Static Public Member Functions

static void GetMountPaths (std::vector< MClientLib::MDrive > *)
 
static std::string MarshallDrivesList (std::vector< MClientLib::MDrive > *)
 
static std::vector
< MClientLib::MDrive
UnmarshallDrivesList (const std::string &data)
 

Detailed Description

MDrive class that holds a drive status data

Holds data related to a drive on a node

Constructor & Destructor Documentation

MClientLib::MDrive::MDrive ( )
MClientLib::MDrive::~MDrive ( )

Member Function Documentation

static void MClientLib::MDrive::GetMountPaths ( std::vector< MClientLib::MDrive > *  )
static
std::string MClientLib::MDrive::getMountPoint ( )
unsigned long long int MClientLib::MDrive::getMountPointFreeSpace ( )
unsigned long long int MClientLib::MDrive::getMountPointTotalSize ( )
std::string MClientLib::MDrive::getName ( )
std::string MClientLib::MDrive::Marshall ( )

Encodes a chunk into a string stream

static std::string MClientLib::MDrive::MarshallDrivesList ( std::vector< MClientLib::MDrive > *  )
static
void MClientLib::MDrive::setMountPoint ( const std::string &  )
void MClientLib::MDrive::setMountPointFreeSpace ( unsigned long long  int)
void MClientLib::MDrive::setMountPointTotalSize ( unsigned long long  int)
void MClientLib::MDrive::setName ( const std::string &  )
bool MClientLib::MDrive::Unmarshall ( std::vector< std::string > &  items)

Decodes a drive from a vector of strings

bool MClientLib::MDrive::Unmarshall ( const char *  data)

Decodes a drive from a stream.Expects an unique string separater by carriage returns as produced by Marshall()

static std::vector<MClientLib::MDrive> MClientLib::MDrive::UnmarshallDrivesList ( const std::string &  data)
static

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