Lines Matching defs:ET

62 static std::string GetTypeName(const RSExportType *ET, bool Brackets = true) {
63 switch (ET->getClass()) {
66 static_cast<const RSExportPrimitiveType *>(ET);
76 static_cast<const RSExportPointerType *>(ET)->getPointeeType();
84 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET);
91 return GetMatrixTypeName(static_cast<const RSExportMatrixType *>(ET));
96 static_cast<const RSExportConstantArrayType *>(ET);
105 return ET->getElementName() + "." RS_TYPE_ITEM_CLASS_NAME;
504 const RSExportType *ET = EV->getType();
506 switch (ET->getClass()) {
508 genGetterAndSetter(static_cast<const RSExportPrimitiveType *>(ET), EV);
517 genGetterAndSetter(static_cast<const RSExportVectorType *>(ET), EV);
525 genGetterAndSetter(static_cast<const RSExportConstantArrayType *>(ET),
530 genGetterAndSetter(static_cast<const RSExportRecordType *>(ET), EV);
573 const RSExportType *ET = EV->getType();
575 slangAssert((ET->getClass() == RSExportType::ExportClassPointer) &&
578 std::string TypeName = GetTypeName(ET);
699 bool RSReflectionCpp::genCreateFieldPacker(const RSExportType *ET,
701 size_t AllocSize = ET->getAllocSize();
712 void RSReflectionCpp::genPackVarOfType(const RSExportType *ET,
715 switch (ET->getClass()) {
725 static_cast<const RSExportConstantArrayType *>(ET);
756 const RSExportRecordType *ERT = static_cast<const RSExportRecordType *>(ET);
802 void RSReflectionCpp::genTypeCheck(const RSExportType *ET,
806 if (ET->getClass() == RSExportType::ExportClassPointer) {
808 static_cast<const RSExportPointerType *>(ET);
809 ET = EPT->getPointeeType();
813 switch (ET->getClass()) {
817 TypeName = ET->getElementName();
837 void RSReflectionCpp::genTypeInstanceFromPointer(const RSExportType *ET) {
838 if (ET->getClass() == RSExportType::ExportClassPointer) {
841 static_cast<const RSExportPointerType *>(ET);
845 genTypeInstance(ET);
849 void RSReflectionCpp::genTypeInstance(const RSExportType *ET) {
850 switch (ET->getClass()) {
855 std::string TypeName = ET->getElementName();
865 void RSReflectionCpp::genInitExportVariable(const RSExportType *ET,
870 switch (ET->getClass()) {
873 static_cast<const RSExportPrimitiveType *>(ET);
888 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET);