LatNet Builder Manual  2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
Path.h File Reference

This file contains a global variable PATH_TO_LATNETBUILDER_DIR which should always equal the path to the directory in which the latnetbuilder executable is located. More...

#include <string>

Namespaces

 NetBuilder
 NetBuilder namespace.
 

Functions

void NetBuilder::SET_PATH_TO_LATNETBUILDER_DIR_FROM_PROGRAM_NAME (const char *argv0)
 Sets the path to the directory containing the latnetbuilder executable. More...
 
void NetBuilder::FIND_PATH_TO_LATNETBUILDER_DIR ()
 Recovers the path to the latnetbuilder executable if it was added to the PATH environment variable.
 
void NetBuilder::SET_PATH_TO_LATNETBUILDER_DIR (const std::string &path)
 Sets the path to the directory in which the latnetbuilder executable is located. More...
 
void NetBuilder::CHECK_PATH_TO_LATNETBUILDER_DIR ()
 Checks if the PATH_TO_LATNETBUILDER_DIR is correctly set: existence of the latnetbuilder executable in the directory and existence of the ../share/latnetbuilder/data and ../share/latticetester/data directories.
 

Variables

std::string NetBuilder::PATH_TO_LATNETBUILDER_DIR
 Path to the directory containing the latnetbuilder executable.
 

Detailed Description

This file contains a global variable PATH_TO_LATNETBUILDER_DIR which should always equal the path to the directory in which the latnetbuilder executable is located.

From this directory, the library recovers the location of the data files required for some functionalities.