mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* all except pol * pol and includes under defines * something weird has happened * remove own folder from include searchpath * fixed remaining, adapted include style for external headers * missing include
28 lines
537 B
C++
28 lines
537 B
C++
#include "bscript/bcontiter.h"
|
|
|
|
#include <typeinfo>
|
|
|
|
namespace Pol::Bscript
|
|
{
|
|
ContIterator::ContIterator() : BObjectImp( BObjectImp::OTUnknown ) {}
|
|
BObject* ContIterator::step()
|
|
{
|
|
return nullptr;
|
|
}
|
|
BObjectImp* ContIterator::copy() const
|
|
{
|
|
return nullptr;
|
|
}
|
|
size_t ContIterator::sizeEstimate() const
|
|
{
|
|
return sizeof( ContIterator );
|
|
}
|
|
std::string ContIterator::getStringRep() const
|
|
{
|
|
return "<iterator>";
|
|
}
|
|
bool ContIterator::is_default() const
|
|
{
|
|
return typeid( *this ) == typeid( ContIterator );
|
|
}
|
|
} // namespace Pol::Bscript
|