Code Search for Developers
 
 
  

MagnusHome.h from Magnus at Krugle


Show MagnusHome.h syntax highlighted

//   Copyright (C) 1995 The New York Group Theory Cooperative
//   See magnus/doc/COPYRIGHT for the full notice.
 
// Contents: Definition of class MagnusHome
//
// This class replaces the use of the preprocessor symbol MAGNUS_HOME.
// Main may reset the encapsulated char* when the Magnus root pathname
// is specified on the command line.
//
// Principal Author: Roger Needham
//
// Status: Complete
//
// Revision History:
//
 
#ifndef _MAGNUSHOME_H_
#define _MAGNUSHOME_H_

//@db system porting
#include "config.h"

#include "Chars.h"


struct MagnusHome
{
  friend int main(int argc, char* argv[]);
  static Chars magnusHome( ) { return Chars( magnus_home ); }

private:
  static char* magnus_home;
};

struct MagnusTmp
{
  friend int main(int argc, char* argv[]);
  static Chars magnusTmp( ) { return Chars( magnus_tmp ); }

private:
  static char* magnus_tmp;
};

#endif




See more files for this project here

Magnus

Magnus is a special purpose mathematical package for Infinite Group Theory computations

Project homepage: http://sourceforge.net/projects/magnus
Programming language(s): C,C++
License: other

  Associations.h
  BTree.h
  BlackBox.h
  Cell.h
  Chars.h
  DArray.h
  DCell.h
  DList.h
  File.h
  GCD.h
  GlobalRandom.h
  IStreamPoll.h
  Int2.h
  List.h
  LogWatcher.h
  MagnusHome.h
  MultiDimArray.h
  QuickAssociations.h
  RandomNumbers.h
  Set.h
  Stack.h
  Timer.h
  Type.h
  Vector.h
  WordParser.h
  conversions.h