|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   43 #ifndef vtkObjectBase_h 
   44 #define vtkObjectBase_h 
   49 #define VTK_HAS_INITIALIZE_OBJECT_BASE 
   51 #include "vtkCommonCoreModule.h"  
   59 class vtkGarbageCollectorToObjectBaseFriendship;
 
   61 class vtkWeakPointerBaseToObjectBaseFriendship;
 
   70   virtual const char* GetClassNameInternal()
 const { 
return "vtkObjectBase"; }
 
   73 #ifdef VTK_WORKAROUND_WINDOWS_MANGLE 
   75 #define GetClassNameA GetClassName 
   76 #define GetClassNameW GetClassName 
   82   const char* GetClassName() 
const;
 
   84 #ifdef VTK_WORKAROUND_WINDOWS_MANGLE 
   89   const char* GetClassNameA() 
const;
 
   90   const char* GetClassNameW() 
const;
 
  116   static vtkIdType GetNumberOfGenerationsFromBaseType(
const char* 
name);
 
  126   virtual vtkIdType GetNumberOfGenerationsFromBase(
const char* 
name);
 
  133   virtual void Delete();
 
  142   virtual void FastDelete();
 
  157   void InitializeObjectBase();
 
  161   void* 
operator new(
size_t tSize);
 
  162   void operator delete(
void* p);
 
  169   void Print(ostream& os);
 
  178   virtual void PrintSelf(ostream& os, 
vtkIndent indent);
 
  179   virtual void PrintHeader(ostream& os, 
vtkIndent indent);
 
  180   virtual void PrintTrailer(ostream& os, 
vtkIndent indent);
 
  203   void SetReferenceCount(
int);
 
  208 #ifndef VTK_LEGACY_REMOVE 
  216 #ifndef VTK_LEGACY_REMOVE 
  234   friend class vtkGarbageCollectorToObjectBaseFriendship;
 
  235   friend class vtkWeakPointerBaseToObjectBaseFriendship;
 
  
vtkWeakPointerBase ** WeakPointers
void PrintRevisions(ostream &)
Legacy.
void operator=(const vtkObjectBase &)
static vtkObjectBase * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
std::atomic< int32_t > ReferenceCount
virtual void CollectRevisions(ostream &)
void InitializeObjectBase()
void Print(const std::vector< T > &input, const std::string &name)
Print a vector with an associated name.
int GetReferenceCount()
Return the current reference count of this object.
vtkObjectBase(const vtkObjectBase &)
abstract base class for most VTK objects
Non-templated superclass for vtkWeakPointer.
a simple class to control print indentation
VTKCOMMONCORE_EXPORT ostream & operator<<(ostream &os, const vtkIndent &o)
Detect and break reference loops.