/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Classes | Functions | Variables
XmlDetDescGen::AD::gen Namespace Reference

Classes

class  Cylinder
class  CylinderSelf
class  PolyCone
class  ADECylinder
class  Parameters
class  Geometry
class  Structure
class  AD

Functions

def main

Variables

 Eight = True
string suffix = ''
string style = '2-2-4'

Function Documentation

def XmlDetDescGen::AD::gen::main ( )

Definition at line 733 of file gen.py.

00734           :
00735 
00736     ad = AD()
00737     import sys
00738     import os
00739 
00740         
00741     try:
00742         xddroot = sys.argv[1]
00743     except IndexError:
00744         xddroot = os.getenv("XMLDETDESCROOT")
00745 
00746     if not xddroot:
00747         print "No XMLDETDESCROOT directory given by environment or command line"
00748         print "Using current working directory"
00749         xddroot="."
00750 
00751     # assume this next line should not be here
00752     #xddroot = ".."
00753 
00754     outdir=xddroot + "/DDDB/AD" + suffix
00755     if not os.path.exists(outdir):
00756         print "Directory does not exist, please make first"
00757         print outdir
00758         sys.exit(1)
00759 
00760     ad.write(outdir)


Variable Documentation

Definition at line 6 of file gen.py.

Definition at line 7 of file gen.py.

Definition at line 8 of file gen.py.

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:56:07 for XmlDetDesc by doxygen 1.7.4