Select Git revision
hjelpeFunksjoner.h
-
Andreas Blakli authored
La til kommentar i hjelpeFunksjoner.h.
Andreas Blakli authoredLa til kommentar i hjelpeFunksjoner.h.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
hjelpeFunksjoner.h 627 B
#ifndef __HJELPEFUNKSJONER_H
#define __HJELPEFUNKSJONER_H
#include <algorithm>
#include <cctype>
#include <iostream>
#include <regex>
#include <string>
#include "konstanter.h"
/**
* HjelpeFunksjoner klasse.
*
*/
class HjelpeFunksjoner {
public:
std::string rensStreng(std::string str);
bool sjekkForUlovligTegn(std::string str);
bool erBokstav(std::string str);
std::string gjorOmTilStorBokstav(const std::string & str);
std::vector<std::string> splittStreng(const char & splittPa, const std::string & str);
void skrivKlokkeslett(const int& time, const int& min);
int lesTall();
};
#endif