ONE - On-device Neural Engine
Loading...
Searching...
No Matches
arser.h File Reference
#include <iostream>
#include <sstream>
#include <iterator>
#include <typeinfo>
#include <algorithm>
#include <functional>
#include <list>
#include <map>
#include <string>
#include <vector>
#include <cstdint>
#include <cstring>
#include <cassert>

Go to the source code of this file.

Data Structures

struct  arser::TypeName< T >
 
struct  arser::TypeName< int >
 
struct  arser::TypeName< std::vector< int > >
 
struct  arser::TypeName< float >
 
struct  arser::TypeName< std::vector< float > >
 
struct  arser::TypeName< bool >
 
struct  arser::TypeName< std::string >
 
struct  arser::TypeName< std::vector< std::string > >
 
struct  arser::TypeName< const char * >
 
struct  arser::TypeName< std::vector< const char * > >
 
class  arser::Argument
 
class  arser::Arser
 
class  arser::Helper
 

Namespaces

namespace  arser
 
namespace  arser::internal
 

Enumerations

enum class  arser::DataType {
  arser::INT32 , arser::INT32_VEC , arser::FLOAT , arser::FLOAT_VEC ,
  arser::BOOL , arser::STR , arser::STR_VEC
}
 

Functions

template<typename T >
arser::internal::lexical_cast (const std::string &str)
 
template<>
bool arser::internal::lexical_cast (const std::string &str)
 
template<typename T >
std::string arser::internal::to_string (const T value)
 
template<>
std::string arser::internal::to_string (const char *value)
 
template<>
std::string arser::internal::to_string (const bool value)
 
std::string arser::internal::remove_dash (const std::string &str)
 Returns the string with the leading dash removed.
 
std::string arser::internal::make_comma_concatenated (const std::vector< std::string > &vec)
 Returns the string that created by concatenating the elements of a vector with commas.