TRIQS/triqs_modest 3.3.0
Modular Electronic Structure Toolkit
Loading...
Searching...
No Matches
h5::proxy

#include <triqs_modest/utils/h5_proxy.hpp>

Detailed Description

Definition at line 28 of file h5_proxy.hpp.

Public Member Functions

 proxy (std::string const &name, char mode)
template<typename T>
as () const
void assert_is_group () const
auto begin () const
auto datasets () const
auto end () const
auto groups () const
bool has_group (const std::string &name) const
 Does the proxy contain the subgroup name.
bool is_group () const
 Does the proxy point to a subgroup ?
auto keys () const
 operator dcomplex () const
 operator double () const
 operator group () const
 operator int () const
 operator long () const
proxy & operator<< (auto &&x)
proxy operator[] (std::string const &key) const

Friends

template<typename T>
as (proxy const &x)
template<typename T>
bool is (proxy const &x)
std::ostream & operator<< (std::ostream &out, proxy const &p)
template<typename T>
void operator<< (T &&lhs, proxy const &x)
auto sort_keys (proxy const &x, auto pred)

Constructor & Destructor Documentation

◆ proxy()

h5::proxy::proxy ( std::string const & name,
char mode )
inline

Definition at line 46 of file h5_proxy.hpp.

Member Function Documentation

◆ as()

template<typename T>
T h5::proxy::as ( ) const
inlinenodiscard

Definition at line 97 of file h5_proxy.hpp.

◆ assert_is_group()

void h5::proxy::assert_is_group ( ) const
inline

Definition at line 65 of file h5_proxy.hpp.

◆ begin()

auto h5::proxy::begin ( ) const
inlinenodiscard

Definition at line 154 of file h5_proxy.hpp.

◆ datasets()

auto h5::proxy::datasets ( ) const
inlinenodiscard

Definition at line 180 of file h5_proxy.hpp.

◆ end()

auto h5::proxy::end ( ) const
inlinenodiscard

Definition at line 159 of file h5_proxy.hpp.

◆ groups()

auto h5::proxy::groups ( ) const
inlinenodiscard

Definition at line 177 of file h5_proxy.hpp.

◆ has_group()

bool h5::proxy::has_group ( const std::string & name) const
inlinenodiscard

Does the proxy contain the subgroup name.

Definition at line 62 of file h5_proxy.hpp.

◆ is_group()

bool h5::proxy::is_group ( ) const
inlinenodiscard

Does the proxy point to a subgroup ?

Definition at line 59 of file h5_proxy.hpp.

◆ keys()

auto h5::proxy::keys ( ) const
inlinenodiscard

Definition at line 183 of file h5_proxy.hpp.

◆ operator dcomplex()

h5::proxy::operator dcomplex ( ) const
inlineexplicit

Definition at line 138 of file h5_proxy.hpp.

◆ operator double()

h5::proxy::operator double ( ) const
inlineexplicit

Definition at line 137 of file h5_proxy.hpp.

◆ operator group()

h5::proxy::operator group ( ) const
inline

Definition at line 75 of file h5_proxy.hpp.

◆ operator int()

h5::proxy::operator int ( ) const
inlineexplicit

Definition at line 135 of file h5_proxy.hpp.

◆ operator long()

h5::proxy::operator long ( ) const
inlineexplicit

Definition at line 136 of file h5_proxy.hpp.

◆ operator<<()

proxy & h5::proxy::operator<< ( auto && x)
inline

Definition at line 125 of file h5_proxy.hpp.

◆ operator[]()

proxy h5::proxy::operator[] ( std::string const & key) const
inline

Definition at line 87 of file h5_proxy.hpp.

◆ as

template<typename T>
T as ( proxy const & x)
friend

Definition at line 107 of file h5_proxy.hpp.

◆ is

template<typename T>
bool is ( proxy const & x)
friend

Definition at line 110 of file h5_proxy.hpp.

◆ operator<< [1/2]

std::ostream & operator<< ( std::ostream & out,
proxy const & p )
friend

Definition at line 37 of file h5_proxy.hpp.

◆ operator<< [2/2]

template<typename T>
void operator<< ( T && lhs,
proxy const & x )
friend

Definition at line 118 of file h5_proxy.hpp.

◆ sort_keys

auto sort_keys ( proxy const & x,
auto pred )
friend

Definition at line 188 of file h5_proxy.hpp.


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