AFLOW
 
Loading...
Searching...
No Matches
xIBZKPT Class Reference

#include <aflow.h>

Inheritance diagram for xIBZKPT:
JsonSerializable< xIBZKPT >

Public Member Functions

 xIBZKPT (std::ostream &oss=std::cout)
 
 xIBZKPT (std::ofstream &FileMESSAGE, std::ostream &oss=std::cout)
 
 xIBZKPT (const std::string &fileIN, bool=true, std::ostream &oss=std::cout)
 
 xIBZKPT (const std::string &fileIN, std::ofstream &FileMESSAGE, bool=true, std::ostream &oss=std::cout)
 
bool initialize (const std::string &fileIN, std::ostream &oss, bool=true)
 
bool initialize (const std::string &fileIN, std::ofstream &FileMESSAGE, std::ostream &oss, bool=true)
 
bool initialize (const std::string &fileIN, bool=true)
 
 xIBZKPT (const xIBZKPT &b)
 
 ~xIBZKPT ()
 
const xIBZKPToperator= (const xIBZKPT &b)
 
void clear ()
 
bool GetProperties (const std::stringstream &stringstreamIN, bool=true)
 
bool GetProperties (const std::string &stringIN, bool=true)
 
bool GetPropertiesFile (const std::string &fileIN, bool=true)
 
bool GetPropertiesUrlFile (const std::string &url, const std::string &file, bool=true)
 
- Public Member Functions inherited from JsonSerializable< xIBZKPT >
virtual ~JsonSerializable ()=default
 
aurostd::JSON::object dumpToJson () const
 
std::string dumpToString () const
 
void dumpToFile (const std::filesystem::path &path, aurostd::compression_type compression=aurostd::compression_type::None) const
 

Public Attributes

bool m_initialized
 
std::string content
 
std::vector< std::string > vcontent
 
std::string filename
 
uint nweights
 
uint nkpoints_irreducible
 
std::vector< aurostd::xvector< double > > vkpoint
 
std::vector< uintvweights
 
uint ntetrahedra
 
double wtetrahedra
 
std::vector< aurostd::xvector< int > > vtetrahedra
 

Protected Member Functions

aurostd::JSON::object serialize () const override
 Performs the actual serialization of members.
 
xIBZKPT deserialize (const aurostd::JSON::object &jo) override
 Performs the actual deserialization of members.
 
std::string getJsonID () const override
 Returns the string ID of the class.
 

Private Member Functions

void free ()
 
void copy (const xIBZKPT &b)
 

Additional Inherited Members

- Static Public Member Functions inherited from JsonSerializable< xIBZKPT >
static xIBZKPT loadFromJson (const aurostd::JSON::object &jo)
 
static xIBZKPT loadFromFile (const std::filesystem::path &path)
 
static xIBZKPT loadFromString (const std::string &content)
 

Detailed Description

Definition at line 1140 of file aflow.h.

Constructor & Destructor Documentation

◆ xIBZKPT() [1/5]

xIBZKPT::xIBZKPT ( std::ostream & oss = std::cout)

◆ xIBZKPT() [2/5]

xIBZKPT::xIBZKPT ( std::ofstream & FileMESSAGE,
std::ostream & oss = std::cout )

◆ xIBZKPT() [3/5]

xIBZKPT::xIBZKPT ( const std::string & fileIN,
bool = true,
std::ostream & oss = std::cout )

◆ xIBZKPT() [4/5]

xIBZKPT::xIBZKPT ( const std::string & fileIN,
std::ofstream & FileMESSAGE,
bool = true,
std::ostream & oss = std::cout )

◆ xIBZKPT() [5/5]

xIBZKPT::xIBZKPT ( const xIBZKPT & b)

◆ ~xIBZKPT()

xIBZKPT::~xIBZKPT ( )

Member Function Documentation

◆ initialize() [1/3]

bool xIBZKPT::initialize ( const std::string & fileIN,
std::ostream & oss,
bool = true )

◆ initialize() [2/3]

bool xIBZKPT::initialize ( const std::string & fileIN,
std::ofstream & FileMESSAGE,
std::ostream & oss,
bool = true )

◆ initialize() [3/3]

bool xIBZKPT::initialize ( const std::string & fileIN,
bool = true )

◆ operator=()

const xIBZKPT & xIBZKPT::operator= ( const xIBZKPT & b)

◆ clear()

void xIBZKPT::clear ( )

◆ GetProperties() [1/2]

bool xIBZKPT::GetProperties ( const std::stringstream & stringstreamIN,
bool = true )

◆ GetProperties() [2/2]

bool xIBZKPT::GetProperties ( const std::string & stringIN,
bool = true )

◆ GetPropertiesFile()

bool xIBZKPT::GetPropertiesFile ( const std::string & fileIN,
bool = true )

◆ GetPropertiesUrlFile()

bool xIBZKPT::GetPropertiesUrlFile ( const std::string & url,
const std::string & file,
bool = true )

◆ serialize()

aurostd::JSON::object xIBZKPT::serialize ( ) const
nodiscardoverrideprotectedvirtual

Performs the actual serialization of members.

Implements JsonSerializable< xIBZKPT >.

◆ deserialize()

xIBZKPT xIBZKPT::deserialize ( const aurostd::JSON::object & jo)
overrideprotectedvirtual

Performs the actual deserialization of members.

Implements JsonSerializable< xIBZKPT >.

◆ getJsonID()

std::string xIBZKPT::getJsonID ( ) const
inlinenodiscardoverrideprotectedvirtual

Returns the string ID of the class.

Implements JsonSerializable< xIBZKPT >.

Definition at line 1177 of file aflow.h.

◆ free()

void xIBZKPT::free ( )
private

◆ copy()

void xIBZKPT::copy ( const xIBZKPT & b)
private

Member Data Documentation

◆ m_initialized

bool xIBZKPT::m_initialized

Definition at line 1155 of file aflow.h.

◆ content

std::string xIBZKPT::content

Definition at line 1158 of file aflow.h.

◆ vcontent

std::vector<std::string> xIBZKPT::vcontent

Definition at line 1159 of file aflow.h.

◆ filename

std::string xIBZKPT::filename

Definition at line 1160 of file aflow.h.

◆ nweights

uint xIBZKPT::nweights

Definition at line 1161 of file aflow.h.

◆ nkpoints_irreducible

uint xIBZKPT::nkpoints_irreducible

Definition at line 1162 of file aflow.h.

◆ vkpoint

std::vector<aurostd::xvector<double> > xIBZKPT::vkpoint

Definition at line 1163 of file aflow.h.

◆ vweights

std::vector<uint> xIBZKPT::vweights

Definition at line 1164 of file aflow.h.

◆ ntetrahedra

uint xIBZKPT::ntetrahedra

Definition at line 1165 of file aflow.h.

◆ wtetrahedra

double xIBZKPT::wtetrahedra

Definition at line 1166 of file aflow.h.

◆ vtetrahedra

std::vector<aurostd::xvector<int> > xIBZKPT::vtetrahedra

Definition at line 1167 of file aflow.h.


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