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/Source.cpp

    r519 r523  
    11#include "stdafx.h"
    22
    3 const string BasicSource::generateDirectiveName = "#generate";
     3const std::string BasicSource::generateDirectiveName = "#generate";
    44
    55
    66class CDefine{
    7     vector<string> names;
     7    std::vector<std::string> names;
    88public:
    99    CDefine( int majorVer );
     
    138138}
    139139BOOL CDefine::undef(char *name){
    140     vector<string>::iterator i = names.begin();
    141     BOOST_FOREACH( const string &temp, names ){
     140    std::vector<std::string>::iterator i = names.begin();
     141    BOOST_FOREACH( const std::string &temp, names ){
    142142        if( temp == name ){
    143143            names.erase( i );
     
    152152
    153153    //重複チェック
    154     BOOST_FOREACH( const string &temp, names ){
     154    BOOST_FOREACH( const std::string &temp, names ){
    155155        if( temp == name ){
    156156            return 1;
     
    390390
    391391
    392 bool Text::ReadFile( const string &filePath ){
     392bool Text::ReadFile( const std::string &filePath ){
    393393    //ファイルオープン
    394394    HANDLE hFile=CreateFile(filePath.c_str(),GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);
     
    519519}
    520520
    521 bool BasicSource::ReadFile_InIncludeDirective( const string &filePath ){
     521bool BasicSource::ReadFile_InIncludeDirective( const std::string &filePath ){
    522522    if( !Text::ReadFile( filePath ) ){
    523523        return false;
     
    854854}
    855855
    856 bool BasicSource::ReadFile( const string &filePath ){
     856bool BasicSource::ReadFile( const std::string &filePath ){
    857857    if( !Text::ReadFile( filePath ) ){
    858858        return false;
     
    902902}
    903903
    904 bool BasicSource::Generate( const string &genName, const char *genBuffer ){
     904bool BasicSource::Generate( const std::string &genName, const char *genBuffer ){
    905905    const int genBufferLength = lstrlen( genBuffer );
    906906
Note: See TracChangeset for help on using the changeset viewer.