polserver/pol-core/bscript/contiter.h
turleypol 21577d8e5b
Clang Tidy concat namespaces (#855)
* tidy

* Automated clang-tidy change: modernize-concat-nested-namespaces

* compile test

* fix namespace

---------

Co-authored-by: Clang Tidy <clang-tidy@users.noreply.github.com>
2026-01-17 10:30:21 +01:00

32 lines
498 B
C++

/** @file
*
* @par History
*/
#ifndef BSCRIPT_CONTITER_H
#define BSCRIPT_CONTITER_H
#include "bobject.h"
#include <typeinfo>
namespace Pol::Bscript
{
class ContIterator : public BObjectImp
{
public:
ContIterator();
virtual BObject* step();
BObjectImp* copy() const override;
size_t sizeEstimate() const override;
std::string getStringRep() const override;
bool is_default() const { return typeid( *this ) == typeid( ContIterator ); }
};
} // namespace Pol::Bscript
#endif