File: rstring.h

package info (click to toggle)
qcad 1.3.3-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 4,504 kB
  • ctags: 2,449
  • sloc: cpp: 29,400; makefile: 49; sh: 15
file content (49 lines) | stat: -rw-r--r-- 1,752 bytes parent folder | download
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
41
42
43
44
45
46
47
48
49
/***************************************************************************
                          rstring.h  -  description
                             -------------------
    begin                : Mon Sep 27 1999
    copyright            : (C) 1999 by Andreas Mustun
    email                : andrew@ribbonsoft.com
 ***************************************************************************/

/****************************************************************************
** rstring.h 1998/08/29 A. Mustun RibbonSoft
**
** Copyright (C) 1998 RibbonSoft.  All rights reserved.
**
*****************************************************************************/

#ifndef RSTRING_H
#define RSTRING_H

#include <qstring.h>

#include "rprgdef.h"

QString  strGetNickName(QString _fileName);

int      strGetIntFromIniLine(QString _iniLine);
float    strGetFloatFromIniLine(QString _iniLine);
char     strGetCharFromIniLine(QString _iniLine);
QString  strGetStringFromIniLine(QString _iniLine);
bool     strIsValidNcOrderChar(char _ch);
bool     strIsInteger(const char* _str);
bool     strIsSpace(const char* _str);
QString  strFloatToString(float _value);
bool     strReplaceChar(char* _str, char _old, char _new);
void     strGetValuesFromParameterLine(const char* _paraLine, 
                                       bool* _layer, 
                                       bool* _rw,
                                       char* _code,
                                       char* _label,
                                       char* _std,
                                       char* _list);
int      strStepToOrderItem(const char* _order, int _index, bool _overReadEnd=false);
int      strOrderItemLength(const char* _orderItem);

#endif


// EOF