NVIDIA Index example code nvidia_logo_transpbg.gif Up
start_index.cpp File Reference

Obtain a IndeX interface, start IndeX service and shut it down. More...

#include <mi/dice.h>
#include <nv/index/iindex.h>
#include <cstdio>
#include <iostream>
#include <map>
#include <sstream>
#include <string>
#include <dlfcn.h>

Go to the source code of this file.

Macros

#define check_success(expr)
 

Functions

int main (int argc, char *argv[])
 

Detailed Description

Obtain a IndeX interface, start IndeX service and shut it down.

Definition in file start_index.cpp.

Macro Definition Documentation

 check_success

#define check_success (   expr)
Value:
{ if (!(expr)) { \
fprintf(stderr, "Error in file %s, line %d: \"%s\".\n", __FILE__, __LINE__, #expr); \
exit(EXIT_FAILURE); } }

Definition at line 35 of file start_index.cpp.

Function Documentation

 main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 234 of file start_index.cpp.