StrUtils.hpp
2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//**************************************************************************************************
// StrUtils.hpp *
// -------------- *
// Description : This file contains my own string utilities : *
// - various string compare algorithms *
// - a function to reduce a string to a single line *
// - functions to convert between strings and string arrays *
// Started : 2008-05-15 *
// Last Update : 2016-10-11 *
// Copyright : (C) 2008-2016 MSWaters *
//**************************************************************************************************
//**************************************************************************************************
// *
// This program is free software; you can redistribute it and/or modify it under the *
// terms of the GNU General Public License as published by the Free Software Foundation; *
// either version 3 of the License, or (at your option) any later version. *
// *
//**************************************************************************************************
#ifndef ISTRCMP_HPP
#define ISTRCMP_HPP
// Application Includes
#include "TypeDefs.hpp"
#include "netlist/Component.hpp"
// Function prototypes
int iStrCmpNode( const wxString & ros1, const wxString & ros2 );
int iStrCmpCpnt( const wxString & ros1, const wxString & ros2 );
int iStrCmpSrc ( const wxString & ros1, const wxString & ros2 );
const wxString & rosStrToLine ( const wxString & ros1 );
const wxArrayString & roasStrToArr ( const wxString & ros1 );
const wxString & rosArrToStr ( const wxArrayString & roas1 );
//**************************************************************************************************
#endif // ISTRCMP_HPP