TuttleOFX  1
ofxsCore.cpp File Reference
#include "./ofxsSupportPrivate.h"
#include <boost/throw_exception.hpp>
#include <boost/lexical_cast.hpp>
#include <cstddef>
Include dependency graph for ofxsCore.cpp:

Go to the source code of this file.

Namespaces

namespace  OFX
 

The core 'OFX Support' namespace, used by plugin implementations. All code for these are defined in the common support libraries.


namespace  OFX::memory
 

Namespace for general purpose memory allocation.


Functions

void OFX::throwSuiteStatusException (OfxStatus stat)
 Throws an OFX::Exception::Suite depending on the status flag passed in.
void OFX::throwHostMissingSuiteException (const std::string &name)
std::string OFX::mapStatusToString (const OfxStatus stat)
 maps a status to a string for debugging purposes, note a c-str for printf
void * OFX::memory::allocate (const std::size_t nBytes, ImageEffect *handle=0) throw ( std::bad_alloc )
 Allocate memory.
void OFX::memory::free (void *ptr) throw ()
 release memory