로딩중...
검색중...
일치하는것 없음
tbindable.hpp
이 파일의 문서화 페이지로 가기
1
2#pragma once
3
5
6namespace by {
7
13 template <typename T> class tbindable {
14 BY_ME(tbindable)
15 BY_INIT_META(me)
16
17 public:
18 // tbindable:
19 explicit operator nbool() const;
20
21 public:
22 virtual nbool bind(const T& it);
23
29 nbool bind(const T* it);
30
31 virtual void rel() = 0;
32 nbool canBind(const T& it) const;
33 nbool canBind(const T* it) const BY_SIDE_FUNC(canBind);
34 virtual nbool canBind(const type& it) const = 0;
35 nbool canBind(const type* it) const BY_SIDE_FUNC(canBind);
36 virtual nbool isBind() const = 0;
37 };
38}
Template interface for bindable objects
Definition tbindable.hpp:13
nbool bind(const T *it)
Bind to instance pointer
Core class for runtime type information in byeol language
Definition type.hpp:100
#define BY_SIDE_FUNC(...)
Side function macros for safe pointer operations
Definition sideFunc.hpp:24
Rich logging support with polymorphic type conversion
Definition richLog.hpp:34