Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
Powder auto-indexing software Conograph
Powder auto-indexing software Conograph
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse SVN
Help
Wiki
FrontPage
Title index
Recent changes
Wiki Search
Help
Forums
List of Forums
Open Discussion (6)
Help (1)
Developers (1)
Help
Mailing Lists
list of ML
Help
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Help
Browse Subversion Repository
/
[conograph]
/
Conograph
/
trunk
/
src
/
utility_func
/
zstring.cc
Diff of /Conograph/trunk/src/utility_func/zstring.cc
Parent Directory
|
Revision Log
|
Patch
revision
31
by
rtomiyasu
, Wed Mar 11 01:09:25 2015 UTC
revision
33
by
rtomiyasu
, Wed Sep 7 04:38:51 2016 UTC
#
Line 120
ZErrorMessage getdelim(istream& ifs, str
Line 120
ZErrorMessage getdelim(istream& ifs, str
120
ans.clear();
ans.clear();
121
if( delim.empty() ) return ZErrorMessage(ZErrorArgument, "Delimiter is empty", __FILE__, __LINE__, __FUNCTION__);
if( delim.empty() ) return ZErrorMessage(ZErrorArgument, "Delimiter is empty", __FILE__, __LINE__, __FUNCTION__);
122
123
const UInt4 ilength = delim.length();
const int ilength = delim.length();
124
UInt4 count = 0;
int count = 0;
125
char c;
char c;
126
while( ifs.get(c) )
while( ifs.get(c) )
127
{
{
#
Line 135
ZErrorMessage getdelim(istream& ifs, str
Line 135
ZErrorMessage getdelim(istream& ifs, str
135
}
}
136
else
else
137
{
{
138
Int4 i;
int i;
139
for(i=count-1; i>=0; i--)
for(i=count-1; i>=0; i--)
140
{
{
141
if( delim.at(i) == c )
if( delim.at(i) == c )
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.31
changed lines
Added in v.33
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26