ERT::EclKW_ref< T > Class Template Reference

#include <EclKW.hpp>

Inheritance diagram for ERT::EclKW_ref< T >:
Inheritance graph

Public Member Functions

 EclKW_ref (ecl_kw_type *kw)
 
 EclKW_ref () noexcept=default
 
const char * name () const
 
size_t size () const
 
void fwrite (FortIO &fortio) const
 
at (size_t i) const
 
T & operator[] (size_t i)
 
const std::remove_pointer< T >::type * data () const
 
ecl_kw_typeget () const
 
void resize (size_t new_size)
 
bool at (size_t i) const
 
const char * at (size_t i) const
 
std::string at (size_t i) const
 
const char *& operator[] (size_t i)=delete
 
booloperator[] (size_t i)=delete
 

Protected Attributes

ecl_kw_typem_kw = nullptr
 

Constructor & Destructor Documentation

◆ EclKW_ref() [1/2]

template<typename T >
ERT::EclKW_ref< T >::EclKW_ref ( ecl_kw_type kw)
inlineexplicit

◆ EclKW_ref() [2/2]

template<typename T >
ERT::EclKW_ref< T >::EclKW_ref ( )
defaultnoexcept

Member Function Documentation

◆ at() [1/4]

template<typename T >
T ERT::EclKW_ref< T >::at ( size_t  i) const
inline

◆ at() [2/4]

bool ERT::EclKW_ref< bool >::at ( size_t  i) const
inline

References ecl_kw_iget_bool().

◆ at() [3/4]

const char * ERT::EclKW_ref< constchar * >::at ( size_t  i) const
inline

◆ at() [4/4]

std::string ERT::EclKW_ref< std::string >::at ( size_t  i) const
inline

◆ data()

template<typename T >
const std::remove_pointer< T >::type * ERT::EclKW_ref< T >::data ( ) const
inline

◆ fwrite()

template<typename T >
void ERT::EclKW_ref< T >::fwrite ( FortIO fortio) const
inline

◆ get()

template<typename T >
ecl_kw_type * ERT::EclKW_ref< T >::get ( ) const
inline

◆ name()

template<typename T >
const char * ERT::EclKW_ref< T >::name ( ) const
inline

◆ operator[]() [1/3]

template<typename T >
T & ERT::EclKW_ref< T >::operator[] ( size_t  i)
inline

◆ operator[]() [2/3]

const char *& ERT::EclKW_ref< constchar * >::operator[] ( size_t  i)
delete

◆ operator[]() [3/3]

bool & ERT::EclKW_ref< bool >::operator[] ( size_t  i)
delete

◆ resize()

template<typename T >
void ERT::EclKW_ref< T >::resize ( size_t  new_size)
inline

◆ size()

template<typename T >
size_t ERT::EclKW_ref< T >::size ( ) const
inline

Member Data Documentation

◆ m_kw


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