TuttleOFX  1
ofxsUtilities.h File Reference
#include <iostream>
Include dependency graph for ofxsUtilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define OFXS_COUT(...)   ::std::cout << __VA_ARGS__ << ::std::endl
 terminal display
#define OFXS_CERR(...)   ::std::cerr << __VA_ARGS__ << ::std::endl
#define OFXS_COUT_X(N,...)
#define OFXS_INFOS   "file: " << __FILE__ << ", line: " << __LINE__ << ::std::endl << "function: " << BOOST_CURRENT_FUNCTION
#define OFXS_COUT_WARNING(...)
#define OFXS_COUT_ERROR(...)

Define Documentation

#define OFXS_CERR (   ...)    ::std::cerr << __VA_ARGS__ << ::std::endl

Definition at line 12 of file ofxsUtilities.h.

#define OFXS_COUT (   ...)    ::std::cout << __VA_ARGS__ << ::std::endl

terminal display

Parameters:
[in]...: all parameters with an operator << defined

Definition at line 11 of file ofxsUtilities.h.

#define OFXS_COUT_ERROR (   ...)
Value:
OFXS_CERR( "Error:" << \
  ::std::endl << OFXS_INFOS << \
  ::std::endl << "\t" << __VA_ARGS__  )

Definition at line 40 of file ofxsUtilities.h.

Referenced by OFX::MultiThread::Processor::multiThread().

#define OFXS_COUT_WARNING (   ...)
Value:
OFXS_CERR( "Warning:" << \
  ::std::endl << OFXS_INFOS << \
  ::std::endl << "\t" << __VA_ARGS__  )

Definition at line 35 of file ofxsUtilities.h.

Referenced by OFX::ParamSetDescriptor::defineParamDescriptor(), and OFX::ImageEffectHostDescription::getPixelDepth().

#define OFXS_COUT_X (   N,
  ... 
)
Value:
for( unsigned int i = 0; i < N; ++i ) { ::std::cout << __VA_ARGS__; } \
    ::std::cout << ::std::endl

Definition at line 14 of file ofxsUtilities.h.

#define OFXS_INFOS   "file: " << __FILE__ << ", line: " << __LINE__ << ::std::endl << "function: " << BOOST_CURRENT_FUNCTION

Definition at line 29 of file ofxsUtilities.h.