RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
Invar::Invariant Class Reference

#include <Invariant.h>

Inheritance diagram for Invar::Invariant:

Public Member Functions

 Invariant (const char *prefix, const char *mess, const char *expr, const char *const file, int line)
 
 Invariant (const char *prefix, const std::string &mess, const char *expr, const char *const file, int line)
 
 ~Invariant () noexcept override=default
 
const char * what () const noexcept override
 
const char * getFile () const
 
std::string getExpression () const
 
int getLine () const
 
std::string toString () const
 
std::string toUserString () const
 

Detailed Description

Definition at line 50 of file Invariant.h.

Constructor & Destructor Documentation

◆ Invariant() [1/2]

Invar::Invariant::Invariant ( const char * prefix,
const char * mess,
const char * expr,
const char *const file,
int line )
inline

Definition at line 52 of file Invariant.h.

◆ Invariant() [2/2]

Invar::Invariant::Invariant ( const char * prefix,
const std::string & mess,
const char * expr,
const char *const file,
int line )
inline

Definition at line 60 of file Invariant.h.

◆ ~Invariant()

Invar::Invariant::~Invariant ( )
overridedefaultnoexcept

Member Function Documentation

◆ getExpression()

std::string Invar::Invariant::getExpression ( ) const
inline

Definition at line 74 of file Invariant.h.

◆ getFile()

const char * Invar::Invariant::getFile ( ) const
inline

Definition at line 72 of file Invariant.h.

◆ getLine()

int Invar::Invariant::getLine ( ) const
inline

Definition at line 76 of file Invariant.h.

◆ toString()

std::string Invar::Invariant::toString ( ) const

◆ toUserString()

std::string Invar::Invariant::toUserString ( ) const

◆ what()

const char * Invar::Invariant::what ( ) const
inlineoverridenoexcept

Definition at line 70 of file Invariant.h.

References what().

Referenced by what().


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