OpenShot Library | libopenshot  0.3.3
Public Member Functions | Public Attributes | List of all members
openshot::OutOfBoundsPoint Class Reference

Exception for an out of bounds key-frame point. More...

#include <Exceptions.h>

Inheritance diagram for openshot::OutOfBoundsPoint:
[legend]
Collaboration diagram for openshot::OutOfBoundsPoint:
[legend]

Public Member Functions

 OutOfBoundsPoint (std::string message, int point_requested, int max_points)
 Constructor. More...
 
std::string py_message () const override
 
virtual ~OutOfBoundsPoint () noexcept
 
- Public Member Functions inherited from openshot::ExceptionBase
 ExceptionBase (std::string message)
 
virtual const char * what () const noexcept
 
virtual ~ExceptionBase () noexcept
 

Public Attributes

int MaxPoints
 
int PointRequested
 

Additional Inherited Members

- Protected Attributes inherited from openshot::ExceptionBase
std::string m_message
 

Detailed Description

Exception for an out of bounds key-frame point.

Definition at line 324 of file Exceptions.h.

Constructor & Destructor Documentation

◆ OutOfBoundsPoint()

openshot::OutOfBoundsPoint::OutOfBoundsPoint ( std::string  message,
int  point_requested,
int  max_points 
)
inline

Constructor.

Parameters
messageA message to accompany the exception
point_requestedThe out-of-bounds point requested
max_pointsThe maximum available point value

Definition at line 336 of file Exceptions.h.

◆ ~OutOfBoundsPoint()

virtual openshot::OutOfBoundsPoint::~OutOfBoundsPoint ( )
inlinevirtualnoexcept

Definition at line 338 of file Exceptions.h.

Member Function Documentation

◆ py_message()

std::string openshot::OutOfBoundsPoint::py_message ( ) const
inlineoverridevirtual

Reimplemented from openshot::ExceptionBase.

Definition at line 339 of file Exceptions.h.

Member Data Documentation

◆ MaxPoints

int openshot::OutOfBoundsPoint::MaxPoints

Definition at line 328 of file Exceptions.h.

Referenced by py_message().

◆ PointRequested

int openshot::OutOfBoundsPoint::PointRequested

Definition at line 327 of file Exceptions.h.

Referenced by py_message().


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