ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/outil/src/ot_chaine.h
Revision: 749
Committed: Thu Oct 8 21:35:25 2015 UTC (9 years, 7 months ago) by francois
Content type: text/plain
File size: 469 byte(s)
Log Message:
parametrage de la numerotation des entites code aster : choix d'une base de description entre 2 et 36 defaut base 10

File Contents

# User Rev Content
1 francois 708 #ifndef ot_CHAINE
2     #define ot_CHAINE
3    
4 francois 711 #include <vector>
5     #include <string>
6 francois 708
7 francois 711
8 francois 708 class OT_CHAINE
9     {
10     public:
11     OT_CHAINE();
12     OT_CHAINE(OT_CHAINE &mdd);
13     ~OT_CHAINE();
14    
15    
16     void mg_fprintf(FILE *in,char *message);
17     void ini_mg_fprintf(int pos,char c);
18 francois 749 std::string get_base(unsigned long val,int base);
19 francois 711
20     std::vector<std::string> split(std::string chaine,char c);
21 francois 708
22     private:
23     int longmax;
24     char charseparateur;
25 francois 749 char transpose[36];
26 francois 708 };
27    
28    
29    
30    
31    
32    
33    
34     #endif