orca-robotics INTRODUCTION Overview Download and Install Quick Start Documentation Publications REPOSITORY Interfaces Components Libraries Utilities Software Map DEVELOPER Tutorials Examples Dev Guide Dashboard Wiki login/pass: orca/orca PEOPLE Contributors Users Project Download Mailing lists
|
orcaice/stringutils.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2008 Alex Brooks, Alexei Makarenko, Tobias Kaupp 00005 * 00006 * This copy of Orca is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 00011 #ifndef ORCAICE_STRING_UTILITIES_H 00012 #define ORCAICE_STRING_UTILITIES_H 00013 00014 00015 #include <vector> 00016 #include <string> 00017 #include <orca/orca.h> 00018 00019 namespace orcaice 00020 { 00021 00026 00030 std::string toString( const orca::FQComponentName& ); 00031 00035 std::string toString( const orca::FQInterfaceName& ); 00036 00039 std::string toString( const orca::FQTopicName& ); 00040 00043 std::string toString( const orca::FQExecutableName & name ); 00044 00049 orca::FQComponentName toComponentName( const std::string& s ); 00050 00055 orca::FQInterfaceName toInterfaceName( const std::string& s ); 00056 00058 std::string toHomeIdentity( const orca::FQComponentName & fqCName ); 00059 00061 orca::FQTopicName toStatusTopic( const orca::FQComponentName & fqCName ); 00062 00064 orca::FQTopicName toTracerTopic( const orca::FQComponentName & fqCName ); 00065 00067 00068 00073 00074 00075 00076 00077 std::string toStringDuration( const orca::Time& ); 00082 int toTimeDuration( const std::string &, orca::Time& ); 00083 00086 std::string toString( const orca::Time& ); 00088 std::string toString( const orca::TimeOfDay& ); 00090 std::string toString( const orca::Date& ); 00091 00093 00094 } // namespace 00095 00096 #endif 00097 |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)