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 51 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 53 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 61 of file Invariant.h.

◆ ~Invariant()

Invar::Invariant::~Invariant ( )
overridedefaultnoexcept

Member Function Documentation

◆ getExpression()

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

Definition at line 75 of file Invariant.h.

◆ getFile()

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

Definition at line 73 of file Invariant.h.

◆ getLine()

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

Definition at line 77 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 71 of file Invariant.h.


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