libvot
0.1.3
A C++11 multithread library for image retrieval
|
I/O utilities implementations. More...
#include <cstdlib>
#include <fstream>
#include <vector>
#include <cassert>
#include "io_utils.h"
#include "../image_graph/image_graph.h"
#include <sys/stat.h>
#include <sys/types.h>
#include <errno.h>
#include <unistd.h>
#include <sys/sysctl.h>
Namespaces | |
tw | |
namespace tw is mostly related to some utility functions developed by the repository owner, Tianwei Shen. | |
Functions | |
template<typename T > | |
T * | tw::allocate_2d (T ***array, int row, int col) |
template<typename T > | |
void | tw::free_2d (T ***array, T *data) |
template int * | tw::allocate_2d< int > (int ***array, int row, int col) |
template void | tw::free_2d< int > (int ***array, int *data) |
template float * | tw::allocate_2d< float > (float ***array, int row, int col) |
template void | tw::free_2d< float > (float ***array, float *data) |
template double * | tw::allocate_2d< double > (double ***array, int row, int col) |
template void | tw::free_2d< double > (double ***array, double *data) |
template vot::LinkEdge * | tw::allocate_2d< vot::LinkEdge > (vot::LinkEdge ***array, int row, int col) |
template void | tw::free_2d< vot::LinkEdge > (vot::LinkEdge ***array, vot::LinkEdge *data) |
I/O utilities implementations.
This file contains some utility classes and functions to facilitate file read/write.