ONE - On-device Neural Engine
Loading...
Searching...
No Matches
cmdline::Vector Class Reference
Collaboration diagram for cmdline::Vector:

Public Member Functions

uint32_t size (void) const
 
const char * at (uint32_t nth) const
 
Vectorappend (const std::string &arg)
 
uint32_t size (void) const
 
const char * at (uint32_t nth) const
 
Vectorappend (const std::string &arg)
 
- Public Member Functions inherited from cmdline::View
virtual ~View ()=default
 

Detailed Description

Definition at line 31 of file Driver.cpp.

Member Function Documentation

◆ append() [1/2]

Vector & cmdline::Vector::append ( const std::string &  arg)
inline

Definition at line 40 of file Driver.cpp.

41 {
42 _args.emplace_back(arg);
43 return (*this);
44 }

◆ append() [2/2]

Vector & cmdline::Vector::append ( const std::string &  arg)
inline

Definition at line 42 of file Driver.cpp.

43 {
44 _args.emplace_back(arg);
45 return (*this);
46 }

◆ at() [1/2]

const char * cmdline::Vector::at ( uint32_t  nth) const
inlinevirtual

Implements cmdline::View.

Definition at line 37 of file Driver.cpp.

37{ return _args.at(nth).c_str(); }

◆ at() [2/2]

const char * cmdline::Vector::at ( uint32_t  nth) const
inlinevirtual

Implements cmdline::View.

Definition at line 39 of file Driver.cpp.

39{ return _args.at(nth).c_str(); }

◆ size() [1/2]

uint32_t cmdline::Vector::size ( void  ) const
inlinevirtual

Implements cmdline::View.

Definition at line 34 of file Driver.cpp.

34{ return _args.size(); }

◆ size() [2/2]

uint32_t cmdline::Vector::size ( void  ) const
inlinevirtual

Implements cmdline::View.

Definition at line 36 of file Driver.cpp.

36{ return _args.size(); }

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