Changeset 634 in Sophya for trunk/Poubelle/archTOI.old/toi.cc


Ignore:
Timestamp:
Nov 25, 1999, 9:34:50 AM (26 years ago)
Author:
ansari
Message:

linux-ppc, gcc 2.95.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Poubelle/archTOI.old/toi.cc

    r555 r634  
    55#include "tokenizer.h"
    66#include "archexc.h"
     7#include <stdio.h>
    78
    89vector<TOI> TOI::alltois;
    910
    1011TOI::TOI(string n, int i, string opts, string u)
    11 : name(n), index(i), unit(u)
     12: name(n), index(i), unit(u), ref(-1)
    1213{
    1314  options = Tokenizer(opts).getTokenSet();
     
    1617
    1718TOI::TOI(string n, int i, string opts, string u, string reqopts)
    18 : name(n), index(i), unit(u)
     19: name(n), index(i), unit(u), ref(-1)
    1920{
    2021  options = Tokenizer(opts).getTokenSet();
     
    2526
    2627TOI::TOI(string n, int i, set<string> opts, string u)
    27 : name(n), options(opts), index(i), unit(u)
     28: name(n), options(opts), index(i), unit(u), ref(-1)
    2829{
    2930  findref();
     
    3132
    3233TOI::TOI(string s, string u)
    33 : index(unspec), unit(u)
     34: index(unspec), unit(u), ref(-1)
    3435{
    3536  vector<string> v = Tokenizer(s).getTokenVector();
     
    4849}
    4950
     51// $CHECK$ a optimiser avec hash ou arbre...
    5052void TOI::findref() {
    5153  for (vector<TOI>::iterator i = alltois.begin();
Note: See TracChangeset for help on using the changeset viewer.