Cppcheck
Public Member Functions | Private Attributes | List of all members
Library::CodeBlock Class Reference

Public Member Functions

 CodeBlock ()=default
 
void setStart (const char *s)
 
void setEnd (const char *e)
 
void setOffset (const int o)
 
void addBlock (const char *blockName)
 
const std::string & start () const
 
const std::string & end () const
 
int offset () const
 
bool isBlock (const std::string &blockName) const
 

Private Attributes

std::string mStart
 
std::string mEnd
 
int mOffset {}
 
std::set< std::string > mBlocks
 

Detailed Description

Definition at line 534 of file library.h.

Constructor & Destructor Documentation

◆ CodeBlock()

Library::CodeBlock::CodeBlock ( )
default

Member Function Documentation

◆ addBlock()

void Library::CodeBlock::addBlock ( const char *  blockName)
inline

Definition at line 547 of file library.h.

◆ end()

const std::string& Library::CodeBlock::end ( ) const
inline

Definition at line 553 of file library.h.

◆ isBlock()

bool Library::CodeBlock::isBlock ( const std::string &  blockName) const
inline

Definition at line 559 of file library.h.

◆ offset()

int Library::CodeBlock::offset ( ) const
inline

Definition at line 556 of file library.h.

◆ setEnd()

void Library::CodeBlock::setEnd ( const char *  e)
inline

Definition at line 541 of file library.h.

◆ setOffset()

void Library::CodeBlock::setOffset ( const int  o)
inline

Definition at line 544 of file library.h.

◆ setStart()

void Library::CodeBlock::setStart ( const char *  s)
inline

Definition at line 538 of file library.h.

◆ start()

const std::string& Library::CodeBlock::start ( ) const
inline

Definition at line 550 of file library.h.

Member Data Documentation

◆ mBlocks

std::set<std::string> Library::CodeBlock::mBlocks
private

Definition at line 567 of file library.h.

◆ mEnd

std::string Library::CodeBlock::mEnd
private

Definition at line 565 of file library.h.

◆ mOffset

int Library::CodeBlock::mOffset {}
private

Definition at line 566 of file library.h.

◆ mStart

std::string Library::CodeBlock::mStart
private

Definition at line 564 of file library.h.


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