SNode.C
Loading...
Searching...
No Matches
utils::AppWithPtr< T > Struct Template Reference

#include <ConfigApp.h>

Inheritance diagram for utils::AppWithPtr< T >:
Collaboration diagram for utils::AppWithPtr< T >:

Public Member Functions

 AppWithPtr (const std::string &description, const std::string &name, T *t)
const T * getPtr () const
T * getPtr ()

Private Attributes

T * ptr = nullptr

Detailed Description

template<class T>
struct utils::AppWithPtr< T >

Definition at line 85 of file ConfigApp.h.

Constructor & Destructor Documentation

◆ AppWithPtr()

template<class T>
utils::AppWithPtr< T >::AppWithPtr ( const std::string & description,
const std::string & name,
T * t )

Definition at line 97 of file ConfigApp.h.

References ptr.

Member Function Documentation

◆ getPtr() [1/2]

template<class T>
T * utils::AppWithPtr< T >::getPtr ( )

Definition at line 108 of file ConfigApp.h.

108 {
109 return ptr;
110 }

References ptr.

◆ getPtr() [2/2]

template<class T>
const T * utils::AppWithPtr< T >::getPtr ( ) const

Definition at line 103 of file ConfigApp.h.

103 {
104 return ptr;
105 }

References ptr.

Member Data Documentation

◆ ptr

template<class T>
T* utils::AppWithPtr< T >::ptr = nullptr
private

Definition at line 93 of file ConfigApp.h.

Referenced by AppWithPtr(), getPtr(), and getPtr().


The documentation for this struct was generated from the following file: