ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nnkit::VectorArguments Class Referencefinal

#include <VectorArguments.h>

Collaboration diagram for nnkit::VectorArguments:

Public Member Functions

uint32_t size (void) const override
 
const char * at (uint32_t nth) const override
 
VectorArgumentsappend (const std::string &arg)
 
- Public Member Functions inherited from nnkit::CmdlineArguments
virtual ~CmdlineArguments ()=default
 

Detailed Description

Definition at line 28 of file VectorArguments.h.

Member Function Documentation

◆ append()

VectorArguments & nnkit::VectorArguments::append ( const std::string &  arg)

Definition at line 22 of file VectorArguments.cpp.

23{
24 _args.emplace_back(arg);
25 return (*this);
26}

Referenced by main().

◆ at()

const char * nnkit::VectorArguments::at ( uint32_t  nth) const
inlineoverridevirtual

Implements nnkit::CmdlineArguments.

Definition at line 32 of file VectorArguments.h.

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

◆ size()

uint32_t nnkit::VectorArguments::size ( void  ) const
inlineoverridevirtual

Implements nnkit::CmdlineArguments.

Definition at line 31 of file VectorArguments.h.

31{ return _args.size(); }

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