QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_TextLog Class Reference

#include <opennurbs_textlog.h>

Public Member Functions

void GetDoubleFormat (ON_String &) const
 
void GetFloatFormat (ON_String &) const
 
int IndentSize () const
 
 ON_TextLog ()
 
 ON_TextLog (FILE *fp)
 
 ON_TextLog (ON_wString &s)
 
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 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 *=NULL)
 
void Print (const ON_3dVector &)
 
void Print (const ON_4dPoint &)
 
void Print (const ON_COMPONENT_INDEX &)
 
void Print (const ON_Matrix &, const char *=NULL, 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 Print (const wchar_t *format,...)
 
void Print (double)
 
void Print (float)
 
void PrintKnotVector (int, int, const double *)
 
void PrintPointGrid (int, ON_BOOL32, int, int, int, int, const double *, const char *=NULL)
 
void PrintPointList (int, ON_BOOL32, int, int, const double *, const char *=NULL)
 
void PrintRGB (const ON_Color &)
 
void PrintString (const char *s)
 
void PrintString (const wchar_t *s)
 
void PrintTime (const struct tm &)
 
void PrintWrappedText (const char *, int=60)
 
void PrintWrappedText (const wchar_t *, int=60)
 
void PushIndent ()
 
void SetDoubleFormat (const char *)
 
void SetFloatFormat (const char *)
 
void SetIndentSize (int)
 
virtual ~ON_TextLog ()
 

Protected Member Functions

virtual void AppendText (const char *s)
 
virtual void AppendText (const wchar_t *s)
 

Protected Attributes

FILE * m_pFile
 
ON_wStringm_pString
 

Private Member Functions

 ON_TextLog (const ON_TextLog &)
 
ON_TextLogoperator= (const ON_TextLog &)
 

Private Attributes

int m_beginning_of_line
 
ON_String m_double2_format
 
ON_String m_double3_format
 
ON_String m_double4_format
 
ON_String m_double_format
 
ON_String m_float2_format
 
ON_String m_float3_format
 
ON_String m_float4_format
 
ON_String m_float_format
 
ON_String m_indent
 
int m_indent_size
 
ON_String m_line
 

Constructor & Destructor Documentation

◆ ON_TextLog() [1/4]

ON_TextLog::ON_TextLog ( )

◆ ON_TextLog() [2/4]

ON_TextLog::ON_TextLog ( FILE * fp)

◆ ON_TextLog() [3/4]

ON_TextLog::ON_TextLog ( ON_wString & s)

◆ ~ON_TextLog()

ON_TextLog::~ON_TextLog ( )
virtual

◆ ON_TextLog() [4/4]

ON_TextLog::ON_TextLog ( const ON_TextLog & )
private

Member Function Documentation

◆ AppendText() [1/2]

void ON_TextLog::AppendText ( const char * s)
protectedvirtual

◆ AppendText() [2/2]

void ON_TextLog::AppendText ( const wchar_t * s)
protectedvirtual

◆ GetDoubleFormat()

void ON_TextLog::GetDoubleFormat ( ON_String & s) const

◆ GetFloatFormat()

void ON_TextLog::GetFloatFormat ( ON_String & s) const

◆ IndentSize()

int ON_TextLog::IndentSize ( ) const

◆ operator<<() [1/12]

ON_TextLog & ON_TextLog::operator<< ( char c)

◆ operator<<() [2/12]

ON_TextLog & ON_TextLog::operator<< ( const char * s)

◆ operator<<() [3/12]

ON_TextLog & ON_TextLog::operator<< ( const ON_2dPoint & p)

◆ operator<<() [4/12]

ON_TextLog & ON_TextLog::operator<< ( const ON_2dVector & p)

◆ operator<<() [5/12]

ON_TextLog & ON_TextLog::operator<< ( const ON_3dPoint & p)

◆ operator<<() [6/12]

ON_TextLog & ON_TextLog::operator<< ( const ON_3dVector & p)

◆ operator<<() [7/12]

ON_TextLog & ON_TextLog::operator<< ( const ON_4dPoint & p)

◆ operator<<() [8/12]

ON_TextLog & ON_TextLog::operator<< ( const ON_Xform & xform)

◆ operator<<() [9/12]

ON_TextLog & ON_TextLog::operator<< ( double x)

◆ operator<<() [10/12]

ON_TextLog & ON_TextLog::operator<< ( float x)

◆ operator<<() [11/12]

ON_TextLog & ON_TextLog::operator<< ( int i)

◆ operator<<() [12/12]

ON_TextLog & ON_TextLog::operator<< ( short i)

◆ operator=()

ON_TextLog & ON_TextLog::operator= ( const ON_TextLog & )
private

◆ PopIndent()

void ON_TextLog::PopIndent ( )

◆ Print() [1/16]

void ON_TextLog::Print ( const char * format,
... )

◆ Print() [2/16]

void ON_TextLog::Print ( const ON_2dPoint & p)

◆ Print() [3/16]

void ON_TextLog::Print ( const ON_2dVector & p)

◆ Print() [4/16]

void ON_TextLog::Print ( const ON_3dPoint & p)

◆ Print() [5/16]

void ON_TextLog::Print ( const ON_3dPointArray & a,
const char * sPreamble = NULL )

◆ Print() [6/16]

void ON_TextLog::Print ( const ON_3dVector & p)

◆ Print() [7/16]

void ON_TextLog::Print ( const ON_4dPoint & p)

◆ Print() [8/16]

void ON_TextLog::Print ( const ON_COMPONENT_INDEX & ci)

◆ Print() [9/16]

void ON_TextLog::Print ( const ON_Matrix & M,
const char * sPreamble = NULL,
int precision = 0 )

◆ Print() [10/16]

void ON_TextLog::Print ( const ON_String & string)

◆ Print() [11/16]

void ON_TextLog::Print ( const ON_UUID & uuid)

◆ Print() [12/16]

void ON_TextLog::Print ( const ON_wString & string)

◆ Print() [13/16]

void ON_TextLog::Print ( const ON_Xform & xform)

◆ Print() [14/16]

void ON_TextLog::Print ( const wchar_t * format,
... )

◆ Print() [15/16]

void ON_TextLog::Print ( double x)

◆ Print() [16/16]

void ON_TextLog::Print ( float x)

◆ PrintKnotVector()

void ON_TextLog::PrintKnotVector ( int order,
int cv_count,
const double * knot )

◆ PrintPointGrid()

void ON_TextLog::PrintPointGrid ( int dim,
ON_BOOL32 is_rat,
int point_count0,
int point_count1,
int point_stride0,
int point_stride1,
const double * P,
const char * sPreamble = NULL )

◆ PrintPointList()

void ON_TextLog::PrintPointList ( int dim,
ON_BOOL32 is_rat,
int count,
int stride,
const double * P,
const char * sPreamble = NULL )

◆ PrintRGB()

void ON_TextLog::PrintRGB ( const ON_Color & color)

◆ PrintString() [1/2]

void ON_TextLog::PrintString ( const char * s)

◆ PrintString() [2/2]

void ON_TextLog::PrintString ( const wchar_t * s)

◆ PrintTime()

void ON_TextLog::PrintTime ( const struct tm & t)

◆ PrintWrappedText() [1/2]

void ON_TextLog::PrintWrappedText ( const char * s,
int line_length = 60 )

◆ PrintWrappedText() [2/2]

void ON_TextLog::PrintWrappedText ( const wchar_t * s,
int line_length = 60 )

◆ PushIndent()

void ON_TextLog::PushIndent ( )

◆ SetDoubleFormat()

void ON_TextLog::SetDoubleFormat ( const char * sFormat)

◆ SetFloatFormat()

void ON_TextLog::SetFloatFormat ( const char * sFormat)

◆ SetIndentSize()

void ON_TextLog::SetIndentSize ( int s)

Member Data Documentation

◆ m_beginning_of_line

int ON_TextLog::m_beginning_of_line
private

◆ m_double2_format

ON_String ON_TextLog::m_double2_format
private

◆ m_double3_format

ON_String ON_TextLog::m_double3_format
private

◆ m_double4_format

ON_String ON_TextLog::m_double4_format
private

◆ m_double_format

ON_String ON_TextLog::m_double_format
private

◆ m_float2_format

ON_String ON_TextLog::m_float2_format
private

◆ m_float3_format

ON_String ON_TextLog::m_float3_format
private

◆ m_float4_format

ON_String ON_TextLog::m_float4_format
private

◆ m_float_format

ON_String ON_TextLog::m_float_format
private

◆ m_indent

ON_String ON_TextLog::m_indent
private

◆ m_indent_size

int ON_TextLog::m_indent_size
private

◆ m_line

ON_String ON_TextLog::m_line
private

◆ m_pFile

FILE* ON_TextLog::m_pFile
protected

◆ m_pString

ON_wString* ON_TextLog::m_pString
protected

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