Darknet/YOLO v3.0-149-gb11c9d5
Object Detection Framework
 
Loading...
Searching...
No Matches
option_list.hpp File Reference
Include dependency graph for option_list.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  kvp
 

Functions

const char * option_find (list *l, const char *key)
 
float option_find_float (list *l, const char *key, float def)
 
float option_find_float_quiet (list *l, const char *key, float def)
 
int option_find_int (list *l, const char *key, int def)
 
int option_find_int_quiet (list *l, const char *key, int def)
 
const char * option_find_str (list *l, const char *key, const char *def)
 
const char * option_find_str_quiet (list *l, const char *key, const char *def)
 
void option_insert (list *l, const char *key, const char *val)
 
void option_unused (list *l)
 
listread_data_cfg (const char *filename)
 Read the .data file.
 
int read_option (char *s, list *options)
 Parse a key-value pair from a single line of text that came from a .cfg or .data file.
 

Function Documentation

◆ option_find()

const char * option_find ( list l,
const char *  key 
)
Here is the caller graph for this function:

◆ option_find_float()

float option_find_float ( list l,
const char *  key,
float  def 
)
Here is the call graph for this function:

◆ option_find_float_quiet()

float option_find_float_quiet ( list l,
const char *  key,
float  def 
)
Here is the call graph for this function:

◆ option_find_int()

int option_find_int ( list l,
const char *  key,
int  def 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ option_find_int_quiet()

int option_find_int_quiet ( list l,
const char *  key,
int  def 
)
Here is the call graph for this function:

◆ option_find_str()

const char * option_find_str ( list l,
const char *  key,
const char *  def 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ option_find_str_quiet()

const char * option_find_str_quiet ( list l,
const char *  key,
const char *  def 
)
Here is the call graph for this function:

◆ option_insert()

void option_insert ( list l,
const char *  key,
const char *  val 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ option_unused()

void option_unused ( list l)
Here is the call graph for this function:

◆ read_data_cfg()

list * read_data_cfg ( const char *  filename)

Read the .data file.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_option()

int read_option ( char *  s,
list options 
)

Parse a key-value pair from a single line of text that came from a .cfg or .data file.

Returns
0 if the line does not contain a key-value pair.
1 if a key-value pair was parsed and stored in options.
Here is the call graph for this function:
Here is the caller graph for this function: