mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* tidy * Automated clang-tidy change: modernize-concat-nested-namespaces * compile test * fix namespace --------- Co-authored-by: Clang Tidy <clang-tidy@users.noreply.github.com>
32 lines
498 B
C++
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
|