Added handy static method SizeOfType().

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31538 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-07-13 18:33:06 +00:00
parent 000dfcbcf3
commit 3b859de22e
2 changed files with 34 additions and 0 deletions
+2
View File
@@ -73,6 +73,8 @@ public:
void* ToPointer() const;
const char* ToString() const;
static size_t SizeOfType(uint32 type);
private:
void _SetTo(const BVariant& other);
void _SetTo(int8 value);