SNode.C
Loading...
Searching...
No Matches
utils::AppWithPtr Class Reference

#include <SubCommand.h>

Inheritance diagram for utils::AppWithPtr:
Collaboration diagram for utils::AppWithPtr:

Public Member Functions

 AppWithPtr (const std::string &description, const std::string &name, SubCommand *t)
 ~AppWithPtr () override
const SubCommandgetPtr () const
SubCommandgetPtr ()
void validate ()

Private Attributes

SubCommandptr

Detailed Description

Definition at line 82 of file SubCommand.h.

Constructor & Destructor Documentation

◆ AppWithPtr()

utils::AppWithPtr::AppWithPtr ( const std::string & description,
const std::string & name,
SubCommand * t )

Definition at line 450 of file SubCommand.cpp.

451 : CLI::App(description, name)
452 , ptr(t) {
453 }
SubCommand * ptr
Definition SubCommand.h:94

References ptr.

◆ ~AppWithPtr()

utils::AppWithPtr::~AppWithPtr ( )
override

Definition at line 455 of file SubCommand.cpp.

455 {
456 }

Member Function Documentation

◆ getPtr() [1/2]

SubCommand * utils::AppWithPtr::getPtr ( )

Definition at line 462 of file SubCommand.cpp.

462 {
463 return ptr;
464 }

References ptr.

Referenced by utils::SubCommand::getSubCommand(), and utils::SubCommand::getSubCommand().

Here is the caller graph for this function:

◆ getPtr() [2/2]

const SubCommand * utils::AppWithPtr::getPtr ( ) const

Definition at line 458 of file SubCommand.cpp.

458 {
459 return ptr;
460 }

References ptr.

◆ validate()

void utils::AppWithPtr::validate ( )

Member Data Documentation

◆ ptr

SubCommand* utils::AppWithPtr::ptr
private

Definition at line 94 of file SubCommand.h.

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


The documentation for this class was generated from the following files: