diff options
author | fcolin | 2007-02-01 13:00:11 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 13:00:11 +0000 |
commit | 44309bb9fb2a7ee412045117b9879b08a1218fe5 (patch) | |
tree | 45ca48d5be45ce6b2b168b7e03379433405bd58b /Bus/Ivy/IvyApplication.cxx | |
parent | 27b171f9cb2ec054a0ae47acd3f21f4737463c2a (diff) | |
download | ivy-cplusplus-44309bb9fb2a7ee412045117b9879b08a1218fe5.zip ivy-cplusplus-44309bb9fb2a7ee412045117b9879b08a1218fe5.tar.gz ivy-cplusplus-44309bb9fb2a7ee412045117b9879b08a1218fe5.tar.bz2 ivy-cplusplus-44309bb9fb2a7ee412045117b9879b08a1218fe5.tar.xz |
Utilisateur : Fcolin Date : 2/06/05 Heure : 18:42 Archivé dans $/Bus/Ivy Commentaire: Suppression de la STL et ajout d'un namespace pour les datatypes internes Ivy (vss 22)
Diffstat (limited to 'Bus/Ivy/IvyApplication.cxx')
-rw-r--r-- | Bus/Ivy/IvyApplication.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Bus/Ivy/IvyApplication.cxx b/Bus/Ivy/IvyApplication.cxx index 3eaecdb..fb399a6 100644 --- a/Bus/Ivy/IvyApplication.cxx +++ b/Bus/Ivy/IvyApplication.cxx @@ -81,7 +81,7 @@ void IvyApplication::Create(const char* host, UINT & port) UINT IvyApplication::Create()
{
- string host;
+ ivy::string host;
UINT port;
CBufferedSocket::Create();
// Max Listen Connexion
@@ -164,7 +164,7 @@ void IvyApplication::OnReceive(char * line) exp = pcre_compile( arg, PCRE_CASELESS, &errmsg, &erroffset, NULL );
if ( !exp )
{
- string err( "Error can't compile regexp '" );
+ ivy::string err( "Error can't compile regexp '" );
err += arg;
err += "' error ";
err += errmsg;
@@ -176,7 +176,7 @@ void IvyApplication::OnReceive(char * line) exp = new Regexp( arg );
if ( !exp->CompiledOK() )
{
- string err( "Error can't compile regexp '" );
+ ivy::string err( "Error can't compile regexp '" );
err += arg;
err += "' error ";
err += exp->GetErrorString();
@@ -292,7 +292,7 @@ void IvyApplication::SendMsg(MsgType msg, int id, const char * arg) void IvyApplication::OnAccept(int nErrorCode)
{
- string remotehost;
+ ivy::string remotehost;
UINT remoteport;
// construct a new, empty socket
@@ -309,7 +309,7 @@ void IvyApplication::OnAccept(int nErrorCode) void IvyApplication::OnClose(int nErrorCode)
{
- string remotehost;
+ ivy::string remotehost;
UINT remoteport;
GetPeerName( remotehost, remoteport );
TRACE("Deconnexion de %s:%u\n", remotehost.c_str(), remoteport );
@@ -344,7 +344,7 @@ int IvyApplication::SendMsg(const char *message) int match_count = pcre_exec( exp, NULL, message, strlen( message ), 0, 0, ovector, max_subexp );
if ( match_count > 0 )
{
- string buffer;
+ ivy::string buffer;
const char *substring;
for ( int j = 1; j < match_count; j++ )
{
@@ -359,7 +359,7 @@ int IvyApplication::SendMsg(const char *message) #else
if ( exp && exp->Match( message ) )
{
- string buffer;
+ ivy::string buffer;
for ( int j = 1; j < exp->SubStrings()+1; j++ )
{
buffer += (*exp)[j];
@@ -381,9 +381,9 @@ return appname.c_str(); BOOL IvyApplication::SameApplication(IvyApplication * app)
{
- string host1;
+ ivy::string host1;
UINT port1;
- string host2;
+ ivy::string host2;
UINT port2;
if ( (remoteService != 0) && (remoteService == app->remoteService) )
{
|