Opm::RawKeyword Class Reference

#include <RawKeyword.hpp>

Public Types

using const_iterator = std::vector< RawRecord >::const_iterator
 
using iterator = std::vector< RawRecord >::iterator
 

Public Member Functions

 RawKeyword (const std::string &name, const std::string &filename, std::size_t lineNR, bool raw_string, Raw::KeywordSizeEnum sizeType)
 
 RawKeyword (const std::string &name, const std::string &filename, std::size_t lineNR, bool raw_string, Raw::KeywordSizeEnum sizeType, std::size_t size_arg)
 
bool terminateKeyword ()
 
bool addRecord (RawRecord record)
 
const std::stringgetKeywordName () const
 
Raw::KeywordSizeEnum getSizeType () const
 
const RawRecordgetFirstRecord () const
 
bool isFinished () const
 
bool unKnownSize () const
 
bool rawStringKeyword () const
 
const Locationlocation () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
std::size_t size () const
 

Member Typedef Documentation

◆ const_iterator

using Opm::RawKeyword::const_iterator = std::vector< RawRecord >::const_iterator

◆ iterator

using Opm::RawKeyword::iterator = std::vector< RawRecord >::iterator

Constructor & Destructor Documentation

◆ RawKeyword() [1/2]

Opm::RawKeyword::RawKeyword ( const std::string name,
const std::string filename,
std::size_t  lineNR,
bool  raw_string,
Raw::KeywordSizeEnum  sizeType 
)

◆ RawKeyword() [2/2]

Opm::RawKeyword::RawKeyword ( const std::string name,
const std::string filename,
std::size_t  lineNR,
bool  raw_string,
Raw::KeywordSizeEnum  sizeType,
std::size_t  size_arg 
)

Member Function Documentation

◆ addRecord()

bool Opm::RawKeyword::addRecord ( RawRecord  record)

◆ begin() [1/2]

iterator Opm::RawKeyword::begin ( )

◆ begin() [2/2]

const_iterator Opm::RawKeyword::begin ( ) const

◆ end() [1/2]

iterator Opm::RawKeyword::end ( )

◆ end() [2/2]

const_iterator Opm::RawKeyword::end ( ) const

◆ getFirstRecord()

const RawRecord & Opm::RawKeyword::getFirstRecord ( ) const

◆ getKeywordName()

const std::string & Opm::RawKeyword::getKeywordName ( ) const

◆ getSizeType()

Raw::KeywordSizeEnum Opm::RawKeyword::getSizeType ( ) const

◆ isFinished()

bool Opm::RawKeyword::isFinished ( ) const

◆ location()

const Location & Opm::RawKeyword::location ( ) const

◆ rawStringKeyword()

bool Opm::RawKeyword::rawStringKeyword ( ) const

◆ size()

std::size_t Opm::RawKeyword::size ( ) const

◆ terminateKeyword()

bool Opm::RawKeyword::terminateKeyword ( )

◆ unKnownSize()

bool Opm::RawKeyword::unKnownSize ( ) const

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