#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_TextLog & | operator<< (const char *) |
ON_TextLog & | operator<< (char) |
ON_TextLog & | operator<< (short) |
ON_TextLog & | operator<< (int) |
ON_TextLog & | operator<< (float) |
ON_TextLog & | operator<< (double) |
ON_TextLog & | operator<< (const ON_2dPoint &) |
ON_TextLog & | operator<< (const ON_3dPoint &) |
ON_TextLog & | operator<< (const ON_4dPoint &) |
ON_TextLog & | operator<< (const ON_2dVector &) |
ON_TextLog & | operator<< (const ON_3dVector &) |
ON_TextLog & | operator<< (const ON_Xform &) |
void | PopIndent () |
void | Print (const char *format,...) |
void | Print (const wchar_t *format,...) |
void | Print (float) |
void | Print (double) |
void | Print (const ON_2dPoint &) |
void | Print (const ON_3dPoint &) |
void | Print (const ON_4dPoint &) |
void | Print (const ON_2dVector &) |
void | Print (const ON_3dVector &) |
void | Print (const ON_Xform &) |
void | Print (const ON_UUID &) |
void | Print (const ON_COMPONENT_INDEX &) |
void | Print (const ON_wString &string) |
void | Print (const ON_String &string) |
void | Print (const ON_3dPointArray &, const char *=NULL) |
void | Print (const ON_Matrix &, const char *=NULL, int=0) |
void | PrintKnotVector (int, int, const double *) |
void | PrintNewLine () |
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_wString * | m_pString |
Private Member Functions | |
ON_TextLog (const ON_TextLog &) | |
ON_TextLog & | operator= (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 |
Definition at line 22 of file opennurbs_textlog.h.
Definition at line 21 of file opennurbs_textlog.cpp.
ON_TextLog::ON_TextLog | ( | FILE * | fp | ) |
Definition at line 27 of file opennurbs_textlog.cpp.
ON_TextLog::ON_TextLog | ( | ON_wString & | s | ) |
Definition at line 33 of file opennurbs_textlog.cpp.
ON_TextLog::~ON_TextLog | ( | ) | [virtual] |
Definition at line 39 of file opennurbs_textlog.cpp.
ON_TextLog::ON_TextLog | ( | const ON_TextLog & | ) | [private] |
void ON_TextLog::AppendText | ( | const char * | s | ) | [protected, virtual] |
Definition at line 187 of file opennurbs_textlog.cpp.
void ON_TextLog::AppendText | ( | const wchar_t * | s | ) | [protected, virtual] |
Definition at line 207 of file opennurbs_textlog.cpp.
void ON_TextLog::GetDoubleFormat | ( | ON_String & | s | ) | const |
Definition at line 51 of file opennurbs_textlog.cpp.
void ON_TextLog::GetFloatFormat | ( | ON_String & | s | ) | const |
Definition at line 64 of file opennurbs_textlog.cpp.
int ON_TextLog::IndentSize | ( | ) | const |
Definition at line 94 of file opennurbs_textlog.cpp.
ON_TextLog & ON_TextLog::operator<< | ( | const char * | s | ) |
Definition at line 630 of file opennurbs_textlog.cpp.
ON_TextLog & ON_TextLog::operator<< | ( | char | c | ) |
Definition at line 636 of file opennurbs_textlog.cpp.
ON_TextLog & ON_TextLog::operator<< | ( | short | i | ) |
Definition at line 642 of file opennurbs_textlog.cpp.
ON_TextLog & ON_TextLog::operator<< | ( | int | i | ) |
Definition at line 649 of file opennurbs_textlog.cpp.
ON_TextLog & ON_TextLog::operator<< | ( | float | x | ) |
Definition at line 655 of file opennurbs_textlog.cpp.
ON_TextLog & ON_TextLog::operator<< | ( | double | x | ) |
Definition at line 661 of file opennurbs_textlog.cpp.
ON_TextLog & ON_TextLog::operator<< | ( | const ON_2dPoint & | p | ) |
Definition at line 667 of file opennurbs_textlog.cpp.
ON_TextLog & ON_TextLog::operator<< | ( | const ON_3dPoint & | p | ) |
Definition at line 673 of file opennurbs_textlog.cpp.
ON_TextLog & ON_TextLog::operator<< | ( | const ON_4dPoint & | p | ) |
Definition at line 679 of file opennurbs_textlog.cpp.
ON_TextLog & ON_TextLog::operator<< | ( | const ON_2dVector & | p | ) |
Definition at line 685 of file opennurbs_textlog.cpp.
ON_TextLog & ON_TextLog::operator<< | ( | const ON_3dVector & | p | ) |
Definition at line 691 of file opennurbs_textlog.cpp.
ON_TextLog & ON_TextLog::operator<< | ( | const ON_Xform & | xform | ) |
Definition at line 697 of file opennurbs_textlog.cpp.
ON_TextLog& ON_TextLog::operator= | ( | const ON_TextLog & | ) | [private] |
void ON_TextLog::PopIndent | ( | ) |
Definition at line 82 of file opennurbs_textlog.cpp.
void ON_TextLog::Print | ( | const char * | format, |
... | |||
) |
Definition at line 106 of file opennurbs_textlog.cpp.
void ON_TextLog::Print | ( | const wchar_t * | format, |
... | |||
) |
Definition at line 146 of file opennurbs_textlog.cpp.
void ON_TextLog::Print | ( | float | x | ) |
Definition at line 225 of file opennurbs_textlog.cpp.
void ON_TextLog::Print | ( | double | x | ) |
Definition at line 233 of file opennurbs_textlog.cpp.
void ON_TextLog::Print | ( | const ON_2dPoint & | p | ) |
Definition at line 241 of file opennurbs_textlog.cpp.
void ON_TextLog::Print | ( | const ON_3dPoint & | p | ) |
Definition at line 248 of file opennurbs_textlog.cpp.
void ON_TextLog::Print | ( | const ON_4dPoint & | p | ) |
Definition at line 258 of file opennurbs_textlog.cpp.
void ON_TextLog::Print | ( | const ON_2dVector & | p | ) |
Definition at line 265 of file opennurbs_textlog.cpp.
void ON_TextLog::Print | ( | const ON_3dVector & | p | ) |
Definition at line 272 of file opennurbs_textlog.cpp.
void ON_TextLog::Print | ( | const ON_Xform & | xform | ) |
Definition at line 282 of file opennurbs_textlog.cpp.
void ON_TextLog::Print | ( | const ON_UUID & | uuid | ) |
Definition at line 305 of file opennurbs_textlog.cpp.
void ON_TextLog::Print | ( | const ON_COMPONENT_INDEX & | ci | ) |
Definition at line 314 of file opennurbs_textlog.cpp.
void ON_TextLog::Print | ( | const ON_wString & | string | ) |
Definition at line 369 of file opennurbs_textlog.cpp.
void ON_TextLog::Print | ( | const ON_String & | string | ) |
Definition at line 376 of file opennurbs_textlog.cpp.
void ON_TextLog::Print | ( | const ON_3dPointArray & | a, |
const char * | sPreamble = NULL |
||
) |
Definition at line 537 of file opennurbs_textlog.cpp.
void ON_TextLog::Print | ( | const ON_Matrix & | M, |
const char * | sPreamble = NULL , |
||
int | precision = 0 |
||
) |
Definition at line 543 of file opennurbs_textlog.cpp.
void ON_TextLog::PrintKnotVector | ( | int | order, |
int | cv_count, | ||
const double * | knot | ||
) |
Definition at line 508 of file opennurbs_textlog.cpp.
void ON_TextLog::PrintNewLine | ( | ) |
Definition at line 389 of file opennurbs_textlog.cpp.
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 |
||
) |
Definition at line 492 of file opennurbs_textlog.cpp.
void ON_TextLog::PrintPointList | ( | int | dim, |
ON_BOOL32 | is_rat, | ||
int | count, | ||
int | stride, | ||
const double * | P, | ||
const char * | sPreamble = NULL |
||
) |
Definition at line 442 of file opennurbs_textlog.cpp.
void ON_TextLog::PrintRGB | ( | const ON_Color & | color | ) |
Definition at line 401 of file opennurbs_textlog.cpp.
void ON_TextLog::PrintString | ( | const char * | s | ) |
Definition at line 383 of file opennurbs_textlog.cpp.
void ON_TextLog::PrintString | ( | const wchar_t * | s | ) |
Definition at line 395 of file opennurbs_textlog.cpp.
void ON_TextLog::PrintTime | ( | const struct tm & | t | ) |
Definition at line 409 of file opennurbs_textlog.cpp.
void ON_TextLog::PrintWrappedText | ( | const char * | s, |
int | line_length = 60 |
||
) |
Definition at line 703 of file opennurbs_textlog.cpp.
void ON_TextLog::PrintWrappedText | ( | const wchar_t * | s, |
int | line_length = 60 |
||
) |
Definition at line 722 of file opennurbs_textlog.cpp.
void ON_TextLog::PushIndent | ( | ) |
Definition at line 69 of file opennurbs_textlog.cpp.
void ON_TextLog::SetDoubleFormat | ( | const char * | sFormat | ) |
Definition at line 43 of file opennurbs_textlog.cpp.
void ON_TextLog::SetFloatFormat | ( | const char * | sFormat | ) |
Definition at line 56 of file opennurbs_textlog.cpp.
void ON_TextLog::SetIndentSize | ( | int | s | ) |
Definition at line 101 of file opennurbs_textlog.cpp.
int ON_TextLog::m_beginning_of_line [private] |
Definition at line 238 of file opennurbs_textlog.h.
ON_String ON_TextLog::m_double2_format [private] |
Definition at line 228 of file opennurbs_textlog.h.
ON_String ON_TextLog::m_double3_format [private] |
Definition at line 229 of file opennurbs_textlog.h.
ON_String ON_TextLog::m_double4_format [private] |
Definition at line 230 of file opennurbs_textlog.h.
ON_String ON_TextLog::m_double_format [private] |
Definition at line 227 of file opennurbs_textlog.h.
ON_String ON_TextLog::m_float2_format [private] |
Definition at line 232 of file opennurbs_textlog.h.
ON_String ON_TextLog::m_float3_format [private] |
Definition at line 233 of file opennurbs_textlog.h.
ON_String ON_TextLog::m_float4_format [private] |
Definition at line 234 of file opennurbs_textlog.h.
ON_String ON_TextLog::m_float_format [private] |
Definition at line 231 of file opennurbs_textlog.h.
ON_String ON_TextLog::m_indent [private] |
Definition at line 226 of file opennurbs_textlog.h.
int ON_TextLog::m_indent_size [private] |
Definition at line 239 of file opennurbs_textlog.h.
ON_String ON_TextLog::m_line [private] |
Definition at line 236 of file opennurbs_textlog.h.
FILE* ON_TextLog::m_pFile [protected] |
Definition at line 193 of file opennurbs_textlog.h.
ON_wString* ON_TextLog::m_pString [protected] |
Definition at line 194 of file opennurbs_textlog.h.