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 410 of file SubCommand.cpp.

411 : CLI::App(description, name)
412 , ptr(t) {
413 }
SubCommand * ptr
Definition SubCommand.h:94

References ptr.

◆ ~AppWithPtr()

utils::AppWithPtr::~AppWithPtr ( )
override

Definition at line 415 of file SubCommand.cpp.

415 {
416 }

Member Function Documentation

◆ getPtr() [1/2]

SubCommand * utils::AppWithPtr::getPtr ( )

Definition at line 422 of file SubCommand.cpp.

422 {
423 return ptr;
424 }

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 418 of file SubCommand.cpp.

418 {
419 return ptr;
420 }

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: