e0a30148b4
- aggiunti tipi INTSTR, INTSTRVECTOR e INTSTRLIST. - aggiornamento prototipi.
31 lines
1.2 KiB
C++
31 lines
1.2 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2014-2019
|
|
//----------------------------------------------------------------------------
|
|
// File : EgtStringBase.h Data : 26.06.19 Versione : 2.1f3
|
|
// Contenuto : Dichiarazioni di base (costanti, tipi, ...) per le stringhe.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 25.11.13 DS Creazione modulo.
|
|
// 26.06.19 DS Aggiunte coppie intero-stringa.
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <list>
|
|
#include <utility>
|
|
|
|
//----------------------------------------------------------------------------
|
|
// Raccolte di stringhe
|
|
typedef std::vector<std::string> STRVECTOR ;
|
|
typedef std::list<std::string> STRLIST ;
|
|
|
|
//----------------------------------------------------------------------------
|
|
// Raccolte di coppie integer, string
|
|
typedef std::pair<int,std::string> INTSTR ; // coppia intero, stringa
|
|
typedef std::vector<INTSTR> INTSTRVECTOR ; // vettore di coppie intero, stringa
|
|
typedef std::list<INTSTR> INTSTRLIST ; // lista di coppie intero, stringa
|