Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

xmli.cxx File Reference

#include "XMLInterface/xmli.h"
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <iostream>
#include <string>
#include <list>
#include <dirent.h>
#include <fnmatch.h>
#include <unistd.h>
#include "XMLInterface/ChString.h"
#include "XMLInterface/Parser.h"

Go to the source code of this file.

Functions

bool fexist (const char *f)

Variables

std::vector< std::string > gsPath
 Methods to setup the XMLI package.


Function Documentation

bool fexist const char *  f  )  [static]
 

Does the file f exist or not?

Parameters:
f : File name to test

Definition at line 32 of file xmli.cxx.

Referenced by xmli::FindFile().

00033 {
00034   FILE* fp = fopen(f,"r");
00035   if (fp) { fclose(fp); return true; }
00036   return false;
00037 }


Variable Documentation

std::vector<std::string> gsPath [static]
 

Methods to setup the XMLI package.

Definition at line 25 of file xmli.cxx.

Referenced by xmli::AddToPath(), and xmli::FindFile().


Generated on Mon Nov 23 04:45:29 2009 for NOvA Offline by  doxygen 1.3.9.1