NVIDIA DeepStream SDK API Reference

9.2 Release
9.2/sources/libs/nvds_ymlparser/nvds_common_parser.h File Reference

Go to the source code of this file.

Macros

#define _PATH_MAX   1024
 

Functions

std::vector< std::string > split_string (std::string input)
 Function definition to split semicolon separated string value and store tokens in a vector. More...
 
gboolean get_absolute_file_path_yaml (const gchar *cfg_file_path, const gchar *file_path, char *abs_path_str)
 Function definition to get the absolute path of a file. More...
 

Macro Definition Documentation

◆ _PATH_MAX

#define _PATH_MAX   1024

Function Documentation

◆ get_absolute_file_path_yaml()

gboolean get_absolute_file_path_yaml ( const gchar *  cfg_file_path,
const gchar *  file_path,
char *  abs_path_str 
)

Function definition to get the absolute path of a file.

Parameters
[in]cfg_file_pathYAML config file name/path.
[in]file_pathFile name of whose absolute path is to be obtained.
[in]abs_path_strAn empty char pointer. At the end of function call, it contains the full path of the file.
Returns
Boolean value on the basis of absolute path value.

◆ split_string()

std::vector<std::string> split_string ( std::string  input)

Function definition to split semicolon separated string value and store tokens in a vector.

Parameters
[in]inputA semicolon separated string.
Returns
Vector containing tokens (i.e. uri(s))