Home | History | Annotate | Download | only in slang

Lines Matching refs:ET

61 static std::string GetTypeName(const RSExportType *ET, bool Brackets = true) {
62 switch (ET->getClass()) {
65 static_cast<const RSExportPrimitiveType *>(ET);
75 static_cast<const RSExportPointerType *>(ET)->getPointeeType();
83 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET);
90 return GetMatrixTypeName(static_cast<const RSExportMatrixType *>(ET));
95 static_cast<const RSExportConstantArrayType *>(ET);
104 return ET->getElementName() + "." RS_TYPE_ITEM_CLASS_NAME;
503 const RSExportType *ET = EV->getType();
505 switch (ET->getClass()) {
507 genGetterAndSetter(static_cast<const RSExportPrimitiveType *>(ET), EV);
516 genGetterAndSetter(static_cast<const RSExportVectorType *>(ET), EV);
524 genGetterAndSetter(static_cast<const RSExportConstantArrayType *>(ET),
529 genGetterAndSetter(static_cast<const RSExportRecordType *>(ET), EV);
572 const RSExportType *ET = EV->getType();
574 slangAssert((ET->getClass() == RSExportType::ExportClassPointer) &&
577 std::string TypeName = GetTypeName(ET);
696 bool RSReflectionCpp::genCreateFieldPacker(const RSExportType *ET,
698 size_t AllocSize = ET->getAllocSize();
709 void RSReflectionCpp::genPackVarOfType(const RSExportType *ET,
712 switch (ET->getClass()) {
722 static_cast<const RSExportConstantArrayType *>(ET);
753 const RSExportRecordType *ERT = static_cast<const RSExportRecordType *>(ET);
799 void RSReflectionCpp::genTypeCheck(const RSExportType *ET,
803 if (ET->getClass() == RSExportType::ExportClassPointer) {
805 static_cast<const RSExportPointerType *>(ET);
806 ET = EPT->getPointeeType();
810 switch (ET->getClass()) {
814 TypeName = ET->getElementName();
834 void RSReflectionCpp::genTypeInstanceFromPointer(const RSExportType *ET) {
835 if (ET->getClass() == RSExportType::ExportClassPointer) {
838 static_cast<const RSExportPointerType *>(ET);
842 genTypeInstance(ET);
846 void RSReflectionCpp::genTypeInstance(const RSExportType *ET) {
847 switch (ET->getClass()) {
852 std::string TypeName = ET->getElementName();
862 void RSReflectionCpp::genInitExportVariable(const RSExportType *ET,
867 switch (ET->getClass()) {
870 static_cast<const RSExportPrimitiveType *>(ET);
885 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET);