18 #ifndef itkLightObject_h
19 #define itkLightObject_h
75 CreateAnother()
const;
81 return this->InternalClone();
97 void *
operator new(size_t);
99 void *
operator new[](size_t);
102 operator delete(
void *);
105 operator delete[](
void *, size_t);
111 Print(std::ostream & os,
Indent indent = 0)
const;
124 UnRegister() const noexcept;
128 GetReferenceCount()
const
130 return m_ReferenceCount;
136 SetReferenceCount(
int);
147 PrintSelf(std::ostream & os,
Indent indent)
const;
150 PrintHeader(std::ostream & os,
Indent indent)
const;
153 PrintTrailer(std::ostream & os,
Indent indent)
const;
160 InternalClone()
const;
163 mutable std::atomic<int> m_ReferenceCount{};
172 ITKCommon_EXPORT std::ostream &
173 operator<<(std::ostream & os,
const LightObject & o);