Ignore:
Timestamp:
May 1, 2008, 11:03:14 PM (16 years ago)
Author:
dai_9181
Message:

ヘッダファイルを整理中

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/Compiler.cpp

    r465 r523  
    1515}
    1616
    17 bool Compiler::StringToType( const string &typeName, Type &type ){
     17bool Compiler::StringToType( const std::string &typeName, Type &type ){
    1818    type.SetIndex( -1 );
    1919
     
    8585        }
    8686
    87         const string &nextTypeName = typeName.substr( 1 );
     87        const std::string &nextTypeName = typeName.substr( 1 );
    8888
    8989        if( !StringToType( nextTypeName, type ) ){
     
    166166}
    167167
    168 const string Compiler::TypeToString( const Type &type )
     168const std::string Compiler::TypeToString( const Type &type )
    169169{
    170170    if( PTR_LEVEL( type.GetBasicType() ) ){
     
    173173        tempType.PtrLevelDown();
    174174
    175         return (string)"*" + TypeToString( tempType );
     175        return (std::string)"*" + TypeToString( tempType );
    176176    }
    177177    else if( type.IsObject() || type.IsStruct() ){
     
    202202        if( lpszTypeName )
    203203        {
    204             return (const string)lpszTypeName;
     204            return (const std::string)lpszTypeName;
    205205        }
    206206    }
     
    208208    compiler.errorMessenger.Output(1, NULL, cp);
    209209
    210     return (string)"(null)";
     210    return (std::string)"(null)";
    211211}
Note: See TracChangeset for help on using the changeset viewer.