top | up | prev | next

PointerCopyAssignment Class

Definition at line 266 of OperationRepository.cpp

Constructors

PointerCopyAssignment(TypeSymbol* type_, TypeSymbol* voidType_, const Span& span, const boost::uuids::uuid& moduleId)

Member Functions

const char* ClassName() const override
SymbolAccess DeclaredAccess() const override
void GenerateCall(Emitter& emitter, std::vector<GenObject*>& genObjects, OperationFlags flags, const Span& span, const boost::uuids::uuid& moduleId) override
bool IsBasicTypeOperation() const override

Member Variables

TypeSymbol* type

Constructor Details

PointerCopyAssignment Constructor

cmajor::binder::PointerCopyAssignment::PointerCopyAssignment(TypeSymbol* type_, TypeSymbol* voidType_, const Span& span, const boost::uuids::uuid& moduleId)

Definition at line 278 of OperationRepository.cpp
Declaration at line 269 of OperationRepository.cpp


Member Function Details

ClassName Member Function

const char * cmajor::binder::PointerCopyAssignment::ClassName() const override

Definition at line 273 of OperationRepository.cpp :
 273 { return "PointerCopyAssignment"; }


DeclaredAccess Member Function

SymbolAccess cmajor::binder::PointerCopyAssignment::DeclaredAccess() const override

Definition at line 270 of OperationRepository.cpp :
 270 { return SymbolAccess::public_; }


GenerateCall Member Function

void cmajor::binder::PointerCopyAssignment::GenerateCall(Emitter& emitter, std::vector<GenObject*>& genObjects, OperationFlags flags, const Span& span, const boost::uuids::uuid& moduleId) override

Definition at line 292 of OperationRepository.cpp :
 293 {
 294     Assert(genObjects.size() == 2"copy assignment needs two objects");
 295     genObjects[1]->Load(emitterOperationFlags::none);
 296     genObjects[0]->Store(emitterOperationFlags::none);
 297 }


Declaration at line 271 of OperationRepository.cpp


IsBasicTypeOperation Member Function

bool cmajor::binder::PointerCopyAssignment::IsBasicTypeOperation() const override

Definition at line 272 of OperationRepository.cpp :
 272 { return true; }


top | up | prev | next