Ignore:
Timestamp:
Apr 28, 2008, 7:28:47 PM (16 years ago)
Author:
dai_9181
Message:

NamespaceScopes、NamespaceScopesCollectionクラスをab_commonプロジェクトに移動した。

Location:
trunk/ab5.0/abdev/ab_common/src
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/ab_common/src/Namespace.cpp

    r503 r505  
    44
    55
    6 NamespaceScopes::NamespaceScopes( const string &namespaceStr ){
     6using namespace ActiveBasic::Common::Lexical;
     7
     8
     9NamespaceScopes::NamespaceScopes( const std::string &namespaceStr ){
    710    if( namespaceStr.size() == 0 ){
    811        return;
    912    }
    1013
    11     string::size_type i = 0;
     14    std::string::size_type i = 0;
    1215    while( true ){
    13         string::size_type i2 = namespaceStr.find( '.', i );
     16        std::string::size_type i2 = namespaceStr.find( '.', i );
    1417
    15         string tempName = namespaceStr.substr( i, i2-i );
     18        std::string tempName = namespaceStr.substr( i, i2-i );
    1619
    1720        push_back( tempName );
    1821
    19         if( i2 == string::npos ){
     22        if( i2 == std::string::npos ){
    2023            break;
    2124        }
Note: See TracChangeset for help on using the changeset viewer.