Support Forum       G3D Web Page     
Static Public Member Functions | Static Protected Member Functions | Friends | List of all members
G3D::NotAdapter Class Reference

Wraps a boolean Pointer with one that inverts its value. More...

Inherits G3D::ReferenceCountedObject.

Static Public Member Functions

static Pointer< bool > wrap (const Pointer< bool > &ptr)
 

Static Protected Member Functions

template<class T , class ... ArgTypes>
static shared_ptr< T > createShared (ArgTypes &&... args)
 Like std::make_shared, but works for protected constructors. More...
 

Friends

class Pointer< bool >
 

Detailed Description

Wraps a boolean Pointer with one that inverts its value.

Member Function Documentation

◆ createShared()

template<class T , class ... ArgTypes>
static shared_ptr<T> G3D::ReferenceCountedObject::createShared ( ArgTypes &&...  args)
inlinestaticprotectedinherited

Like std::make_shared, but works for protected constructors.

Call as createShared<myclass>.

◆ wrap()

static Pointer<bool> G3D::NotAdapter::wrap ( const Pointer< bool > &  ptr)
inlinestatic

Friends And Related Function Documentation

◆ Pointer< bool >

friend class Pointer< bool >
friend

documentation generated on Wed Nov 24 2021 08:01:58 using doxygen 1.8.15