Ignore:
Timestamp:
Jun 24, 2007, 2:05:40 PM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jenga/include/smoothie/Parameter.h

    r170 r181  
    11#pragma once
    22
     3#include <string>
     4#include <vector>
     5
    36#include "Type.h"
    4 
    57#include "BasicFixed.h"
    68
    79class Parameter : public Type
    810{
    9     string varName;
     11    std::string varName;
    1012    bool isRef;
    1113    bool isArray;
    1214    int subScripts[MAX_ARRAYDIM];
    1315
    14     const string initValue;
     16    const std::string initValue;
    1517
    1618public:
    17     Parameter( const string &varName, const Type &type, bool isRef = false, const string initValue = "" ):
     19    Parameter( const std::string &varName, const Type &type, bool isRef = false, const std::string initValue = "" ):
    1820        Type( type ),
    1921        varName( varName ),
     
    4345    }
    4446
    45     const string &GetVarName() const
     47    const std::string &GetVarName() const
    4648    {
    4749        return varName;
     
    5961    }
    6062
    61     const string &GetInitValue() const
     63    const std::string &GetInitValue() const
    6264    {
    6365        return initValue;
     
    8991};
    9092
    91 class Parameters : public vector<Parameter *>
     93class Parameters : public std::vector<Parameter *>
    9294{
    9395public:
Note: See TracChangeset for help on using the changeset viewer.