SG::IsMostDerivedFlag Class Reference

Holder for the is-most-derived flag. More...

#include <IsMostDerivedFlag.h>

List of all members.

Public Member Functions

 IsMostDerivedFlag (bool flag)
 IsMostDerivedFlag (const IsMostDerivedFlag &)
 operator bool () const
IsMostDerivedFlagoperator= (const IsMostDerivedFlag &)
IsMostDerivedFlagoperator= (bool flag)

Detailed Description

Holder for the is-most-derived flag.

This acts like a bool, except that when the class containing it gets copied via a copy/move constructor, it is initialized to false. This allows us to maintain the flags when the containers have only implicit copy constructors for the derived classes. After copy construction, the flags will get set correctly by the first call to testInsert.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1