CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::Constraint::DuplicateConstraint Class Reference

#include <CeresEngine/Foundation/Constraint/ConstraintError.hpp>

Inheritance diagram for CeresEngine::Constraint::DuplicateConstraint:
CeresEngine::Constraint::ConstraintException CeresEngine::Exception

Public Member Functions

 DuplicateConstraint (Constraint constraint)
 
 ~DuplicateConstraint () noexcept override=default
 
const ConstraintgetConstraint () const
 
- Public Member Functions inherited from CeresEngine::Constraint::ConstraintException
template<typename S , typename... Args>
 ConstraintException (const S &formatString, Args &&... args)
 
- Public Member Functions inherited from CeresEngine::Exception
 Exception (const char *typeName, const String &description="", const SourceLocation &sourceLocation=SourceLocation::current())
 
template<typename S , typename... Args>
 Exception (const char *typeName, const S &formatString, Args &&... args)
 
 Exception (const Exception &other)=default
 
Exceptionoperator= (const Exception &other)=default
 
 Exception (Exception &&other) noexcept=default
 
Exceptionoperator= (Exception &&other) noexcept=default
 
 ~Exception () noexcept override=default
 
virtual const StringgetFullDescription () const
 Returns a string with the full description of the exception.
 
virtual StringView getSource () const noexcept
 Gets the source function that threw the exception.
 
virtual StringView getFile () const noexcept
 Gets the source file name in which the exception was thrown.
 
virtual UInt32 getLine () const noexcept
 Gets line number on which the exception was thrown.
 
virtual StringView getDescription () const noexcept
 Gets a short description about the exception.
 
const charwhat () const noexcept override
 Overriden std::exception::what. Returns the same value as getFullDescription().
 

Private Types

using super = ConstraintException
 

Private Attributes

Constraint mConstraint
 

Member Typedef Documentation

◆ super

Constructor & Destructor Documentation

◆ DuplicateConstraint()

CeresEngine::Constraint::DuplicateConstraint::DuplicateConstraint ( Constraint  constraint)

◆ ~DuplicateConstraint()

CeresEngine::Constraint::DuplicateConstraint::~DuplicateConstraint ( )
overridedefaultnoexcept

Member Function Documentation

◆ getConstraint()

const Constraint & CeresEngine::Constraint::DuplicateConstraint::getConstraint ( ) const
inline

Member Data Documentation

◆ mConstraint

Constraint CeresEngine::Constraint::DuplicateConstraint::mConstraint
private

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