#include <iostream>
#include <cstdlib>
#include <cstring>
#include "camera_caffe_main.h"
Go to the source code of this file.
Defines | |
#define | CHECK_OPTION_VALUE(argp) |
#define | CSV_PARSE_CHECK_ERROR(condition, str) |
Functions | |
int | parse_csv_args (camera_caffe_context *ctx, int argc, const char *argv[]) |
#define CHECK_OPTION_VALUE | ( | argp | ) |
Value:
if(!*argp || (*argp)[0] == '-') \ { \ cerr << "Error: value not specified for option " << arg << endl; \ goto error; \ }
Definition at line 35 of file camera_caffe_csvparser.cpp.
#define CSV_PARSE_CHECK_ERROR | ( | condition, | |||
str | ) |
Value:
if (condition) \ { \ cerr << "Error: " << str << endl; \ goto error; \ }
Definition at line 42 of file camera_caffe_csvparser.cpp.
int parse_csv_args | ( | camera_caffe_context * | ctx, | |
int | argc, | |||
const char * | argv[] | |||
) |
Definition at line 72 of file camera_caffe_csvparser.cpp.