NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
niftk::itkLogHelper Class Reference

This is a class to help with a few logging functions. More...

Inheritance diagram for niftk::itkLogHelper:
Inheritance graph
[legend]
Collaboration diagram for niftk::itkLogHelper:
Collaboration graph
[legend]

Public Types

typedef itkLogHelper Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer
< const Self
ConstPointer
 

Public Member Functions

virtual const char * GetClassName () const
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
void InfoMessage (const std::string &infoMessage)
 
void DebugMessage (const std::string &debugMessage)
 
void WarningMessage (const std::string &warningMessage)
 
void ErrorMessage (const std::string &errorMessage)
 
void ExceptionMessage (const std::string &exceptionMessage)
 
std::string ToString ()
 

Static Public Member Functions

static Pointer New ()
 
static void SetLogLevel (int logginglevel)
 
static void PrintCommandLineHeader (std::ostream &stream)
 
static std::string WriteParameterArray (const itk::Array< double > &array)
 

Protected Member Functions

 itkLogHelper ()
 
virtual ~itkLogHelper ()
 

Detailed Description

This is a class to help with a few logging functions.

Member Typedef Documentation

typedef itk::SmartPointer<const Self> niftk::itkLogHelper::ConstPointer
typedef itk::SmartPointer<Self> niftk::itkLogHelper::Pointer

House keeping for the object factory.

typedef itk::Object niftk::itkLogHelper::Superclass

Constructor & Destructor Documentation

niftk::itkLogHelper::itkLogHelper ( )
protected
niftk::itkLogHelper::~itkLogHelper ( )
protectedvirtual

Member Function Documentation

void niftk::itkLogHelper::DebugMessage ( const std::string debugMessage)

Simple way to output a debug message

void niftk::itkLogHelper::ErrorMessage ( const std::string errorMessage)

Simple way to output an error message

void niftk::itkLogHelper::ExceptionMessage ( const std::string exceptionMessage)

Simple way to output a exception message

virtual const char* niftk::itkLogHelper::GetClassName ( ) const
virtual

Runtime information support.

void niftk::itkLogHelper::InfoMessage ( const std::string infoMessage)

Simple way to output an information

static Pointer niftk::itkLogHelper::New ( )
static
void niftk::itkLogHelper::PrintCommandLineHeader ( std::ostream &  stream)
static

Prints out command line header

void niftk::itkLogHelper::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
override
static void niftk::itkLogHelper::SetLogLevel ( int  logginglevel)
static

Set the logging level at run-time.

std::string niftk::itkLogHelper::ToString ( )

Prints out a string representation of this object.

void niftk::itkLogHelper::WarningMessage ( const std::string warningMessage)

Simple way to output a warning message

std::string niftk::itkLogHelper::WriteParameterArray ( const itk::Array< double > &  array)
static

Helper method, just in case we want to debug a parameter array.


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