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
29 lines
553 B
C++
29 lines
553 B
C++
#include "bscript/bspread.h"
|
|
|
|
namespace Pol::Bscript
|
|
{
|
|
|
|
BSpread::BSpread( BObjectRef obj ) : BObjectImp( OTSpread ), object( std::move( obj ) ) {}
|
|
|
|
BSpread::BSpread( const BSpread& B ) : BObjectImp( OTSpread ), object( B.object ) {}
|
|
|
|
size_t BSpread::sizeEstimate() const
|
|
{
|
|
return sizeof( BSpread ) + object.sizeEstimate();
|
|
}
|
|
|
|
BObjectImp* BSpread::copy() const
|
|
{
|
|
return new BSpread( *this );
|
|
}
|
|
|
|
bool BSpread::isTrue() const
|
|
{
|
|
return object->isTrue();
|
|
}
|
|
|
|
std::string BSpread::getStringRep() const
|
|
{
|
|
return "Spread";
|
|
}
|
|
} // namespace Pol::Bscript
|