Vowpal Wabbit
Public Member Functions | Public Attributes | List of all members
Namespace< audit > Struct Template Reference

#include <json_utils.h>

Public Member Functions

void AddFeature (feature_value v, feature_index i, const char *feature_name)
 
void AddFeature (const char *str, hash_func_t hash_func, uint64_t parse_mask)
 
void AddFeature (const char *key, const char *value, hash_func_t hash_func, uint64_t parse_mask)
 

Public Attributes

char feature_group
 
feature_index namespace_hash
 
featuresftrs
 
size_t feature_count
 
const char * name
 

Member Function Documentation

◆ AddFeature() [1/3]

template<bool audit>
void Namespace< audit >::AddFeature ( feature_value  v,
feature_index  i,
const char *  feature_name 
)
inline

◆ AddFeature() [2/3]

template<bool audit>
void Namespace< audit >::AddFeature ( const char *  str,
hash_func_t  hash_func,
uint64_t  parse_mask 
)
inline

◆ AddFeature() [3/3]

template<bool audit>
void Namespace< audit >::AddFeature ( const char *  key,
const char *  value,
hash_func_t  hash_func,
uint64_t  parse_mask 
)
inline

Member Data Documentation

◆ feature_count

template<bool audit>
size_t Namespace< audit >::feature_count

◆ feature_group

template<bool audit>
char Namespace< audit >::feature_group

◆ ftrs

template<bool audit>
features* Namespace< audit >::ftrs

◆ name

template<bool audit>
const char* Namespace< audit >::name

◆ namespace_hash

template<bool audit>
feature_index Namespace< audit >::namespace_hash

The documentation for this struct was generated from the following file: