AlpacaLibrary/Include/Core/JavaClass/Object.hpp

25 lines
562 B
C++
Raw Normal View History

2017-12-25 23:49:48 +00:00
#ifndef OBJECT_HPP_INCLUDED
#define OBJECT_HPP_INCLUDED
class Class;
class Object
{
public:
void* Obj;
Object();
Object(const void* Obj);
Object(const Object& O);
2018-03-20 16:16:11 +00:00
Object(Object&& O);
2017-12-25 23:49:48 +00:00
Object& operator=(const Object& O);
bool operator==(const Object& O) const;
bool operator!=(const Object& O) const;
bool Equals(Object O) const;
bool InstanceOf(Class C) const;
operator bool() const;
operator void*() const;
2018-03-27 02:51:41 +00:00
~Object();
2017-12-25 23:49:48 +00:00
};
#endif // OBJECT_HPP_INCLUDED