Rhino C++ API  8.13
Public Member Functions | List of all members
CRhinoDump Class Reference

#include <rhinoSdkUtilities.h>

Inheritance diagram for CRhinoDump:
ON_TextLog

Public Member Functions

 CRhinoDump ()=default
 
 ~CRhinoDump ()=default
 
void AppendText (const char *) override
 appends text to log More...
 
void AppendText (const wchar_t *) override
 appends UNICODE text to log More...
 
- Public Member Functions inherited from ON_TextLog
 ON_TextLog ()
 
 ON_TextLog (FILE *fp)
 dump to open ASCII text file More...
 
 ON_TextLog (ON_wString &s)
 
virtual ~ON_TextLog ()
 
void ClearColorFormat ()
 
ON_TextLog::LevelOfDetail DecreaseLevelOfDetail ()
 Decrease the level of detail. More...
 
ON_Color::TextFormat GetColorFormat ()
 
void GetDoubleFormat (ON_String &) const
 
void GetFloatFormat (ON_String &) const
 
ON_TextLog::LevelOfDetail GetLevelOfDetail () const
 
ON_TextLog::LevelOfDetail IncreaseLevelOfDetail ()
 Increase the level of detail. More...
 
int IndentCount ()
 
int IndentSize () const
 
bool IsNull () const
 
bool IsTextHash () const
 
bool LevelOfDetailIsAtLeast (ON_TextLog::LevelOfDetail level_of_detail)
 
ON_TextLogoperator<< (char)
 
ON_TextLogoperator<< (const char *)
 
ON_TextLogoperator<< (const ON_2dPoint &)
 
ON_TextLogoperator<< (const ON_2dVector &)
 
ON_TextLogoperator<< (const ON_3dPoint &)
 
ON_TextLogoperator<< (const ON_3dVector &)
 
ON_TextLogoperator<< (const ON_4dPoint &)
 
ON_TextLogoperator<< (const ON_Xform &)
 
ON_TextLogoperator<< (double)
 
ON_TextLogoperator<< (float)
 
ON_TextLogoperator<< (int)
 
ON_TextLogoperator<< (short)
 
void PopIndent ()
 
void ON_VARGS_FUNC_CDECL Print (const char *format,...)
 
void Print (const ON_2dPoint &)
 
void Print (const ON_2dVector &)
 
void Print (const ON_3dPoint &)
 
void Print (const ON_3dPointArray &, const char *=nullptr)
 
void Print (const ON_3dVector &)
 
void Print (const ON_4dPoint &)
 
void Print (const ON_COMPONENT_INDEX &)
 
void Print (const ON_Matrix &, const char *=nullptr, int=0)
 
void Print (const ON_String &string)
 
void Print (const ON_UUID &)
 
void Print (const ON_wString &string)
 
void Print (const ON_Xform &)
 
void ON_VARGS_FUNC_CDECL Print (const wchar_t *format,...)
 
void Print (double)
 
void Print (float)
 
void PrintColor (const ON_Color &color)
 
void PrintCurrentTime ()
 
void PrintKnotVector (int, int, const double *)
 
void PrintNewLine ()
 printing utilities More...
 
void PrintPointGrid (int, bool, int, int, int, int, const double *, const char *=nullptr)
 
void PrintPointList (int, bool, int, int, const double *, const char *=nullptr)
 
void PrintRGB (const ON_Color &color)
 
void PrintSpace ()
 
void PrintString (const char *s)
 
void PrintString (const wchar_t *s)
 
void PrintString (ON_String s)
 
void PrintString (ON_wString s)
 
void PrintTab ()
 
void PrintTime (const struct tm &t)
 
void PrintWrappedText (const char *, int=60)
 last arg is maximum line length More...
 
void PrintWrappedText (const wchar_t *, int=60)
 last arg is maximum line length More...
 
void PushIndent ()
 
void SetColorFormat (ON_Color::TextFormat color_format)
 
void SetDoubleFormat (const char *)
 default is g More...
 
void SetFloatFormat (const char *)
 default is g More...
 
void SetIndentCount (int indent_count)
 
void SetIndentSize (int)
 
void SetLevelOfDetail (ON_TextLog::LevelOfDetail level_of_detail)
 

Additional Inherited Members

- Public Types inherited from ON_TextLog
enum  LevelOfDetail : unsigned char { LevelOfDetail::Minimum = 0, LevelOfDetail::Medium = 1, LevelOfDetail::Maximum = 2 }
 ON_TextLog::LevelOfDetail determines ow much detail is printed. Functions that have an ON_TextLog parameter, like the Dump() functions, may use the level of detail to tailor their output. may use the level of detail to tailor their output. More...
 
- Static Public Member Functions inherited from ON_TextLog
static ON_TextLog::LevelOfDetail LevelOfDetailFromUnsigned (unsigned int level_of_detail)
 
- Static Public Attributes inherited from ON_TextLog
static ON_TextLog Null
 
- Protected Attributes inherited from ON_TextLog
FILE * m_pFile = nullptr
 
ON_wStringm_pString = nullptr
 

Detailed Description

Description: Use a CRhinoDump object when you want text sent to an ON_TextLog to appear in the Rhino command window.

Constructor & Destructor Documentation

◆ CRhinoDump()

CRhinoDump::CRhinoDump ( )
default

◆ ~CRhinoDump()

CRhinoDump::~CRhinoDump ( )
default

Member Function Documentation

◆ AppendText() [1/2]

void CRhinoDump::AppendText ( const char *  )
overridevirtual

appends text to log

Reimplemented from ON_TextLog.

◆ AppendText() [2/2]

void CRhinoDump::AppendText ( const wchar_t *  )
overridevirtual

appends UNICODE text to log

Reimplemented from ON_TextLog.