Rhino C++ API  7.21
Public Member Functions | List of all members
ON_TextLogLevelOfDetail Class Reference

#include <opennurbs_textlog.h>

Public Member Functions

 ON_TextLogLevelOfDetail (class ON_TextLog &text_log, ON_TextLog::LevelOfDetail level_of_detail)
 The constructor saves the current level of detail and then sets the level of detail to level_of_detail. More...
 
 ~ON_TextLogLevelOfDetail ()
 The destructor restores the level ot detail the saved value. More...
 
ON_TextLog::LevelOfDetail SavedLevelOfDetail () const
 

Detailed Description

Description: ON_TextLogLevelOfDetail is a class used with ON_TextLog to push and pop level of detail.

Constructor & Destructor Documentation

◆ ON_TextLogLevelOfDetail()

ON_TextLogLevelOfDetail::ON_TextLogLevelOfDetail ( class ON_TextLog text_log,
ON_TextLog::LevelOfDetail  level_of_detail 
)

The constructor saves the current level of detail and then sets the level of detail to level_of_detail.

◆ ~ON_TextLogLevelOfDetail()

ON_TextLogLevelOfDetail::~ON_TextLogLevelOfDetail ( )

The destructor restores the level ot detail the saved value.

Member Function Documentation

◆ SavedLevelOfDetail()

ON_TextLog::LevelOfDetail ON_TextLogLevelOfDetail::SavedLevelOfDetail ( ) const

Returns: Level of detail the text log had when the constructor was called.