로딩중...
검색중...
일치하는것 없음
verStela.hpp
이 파일의 문서화 페이지로 가기
1
2#pragma once
3
5
6namespace by {
7
17 class _nout verStela: public valStela {
18 BY_ME(verStela, valStela)
19 BY_INIT_META(verStela)
20
21 public:
22 verStela(int major, int minor, int fix);
23 explicit verStela(const std::string& verStr);
24 explicit verStela(const nchar* verStr);
25
26 public:
27 nbool operator>(const me& rhs) const;
28 nbool operator<(const me& rhs) const;
29 nbool operator==(const me& rhs) const;
30 nbool operator!=(const me& rhs) const;
31 nbool operator<=(const me& rhs) const;
32 nbool operator>=(const me& rhs) const;
33
34 public:
35 nint asMajor() const;
36 nint asMinor() const;
37 nint asFix() const;
38 const type& getType() const override;
39
40 private:
41 static nint _isFromBigger(nint from, nint to);
42 void _parseVerStr(const std::string& verStr);
43
44 private:
45 nint _maj;
46 nint _min;
47 nint _fix;
48 static constexpr nint VER_LEN = 3;
49 static constexpr const nchar* DELIMITER = ".";
50 };
51} // namespace by
Core class for runtime type information in byeol language
Definition type.hpp:100
Value stela node for storing primitive values
Definition valStela.hpp:17
Version stela node for semantic version handling
Definition verStela.hpp:17
Rich logging support with polymorphic type conversion
Definition richLog.hpp:34