Lines Matching refs:ET
64 static std::string GetTypeName(const RSExportType *ET, bool Brackets = true) {
65 switch (ET->getClass()) {
68 static_cast<const RSExportPrimitiveType*>(ET))->c_name;
72 static_cast<const RSExportPointerType*>(ET)->getPointeeType();
81 static_cast<const RSExportVectorType*>(ET);
88 return GetMatrixTypeName(static_cast<const RSExportMatrixType*>(ET));
93 static_cast<const RSExportConstantArrayType*>(ET);
102 return ET->getElementName() + "." RS_TYPE_ITEM_CLASS_NAME;
473 const RSExportType *ET = EV->getType();
475 switch (ET->getClass()) {
533 const RSExportType *ET = EV->getType();
535 slangAssert((ET->getClass() == RSExportType::ExportClassPointer) &&
538 std::string TypeName = GetTypeName(ET);
665 bool RSReflectionCpp::genCreateFieldPacker(const RSExportType *ET,
667 size_t AllocSize = RSExportType::GetTypeAllocSize(ET);
680 void RSReflectionCpp::genPackVarOfType(const RSExportType *ET,
684 switch (ET->getClass()) {
695 static_cast<const RSExportConstantArrayType *>(ET);
727 static_cast<const RSExportRecordType*>(ET);
782 void RSReflectionCpp::genTypeCheck(const RSExportType *ET,
789 if (ET->getClass() == RSExportType::ExportClassPointer) {
791 static_cast<const RSExportPointerType*>(ET);
792 ET = EPT->getPointeeType();
796 switch (ET->getClass()) {
800 TypeName = ET->getElementName();
826 void RSReflectionCpp::genTypeInstanceFromPointer(const RSExportType *ET) {
827 if (ET->getClass() == RSExportType::ExportClassPointer) {
830 static_cast<const RSExportPointerType*>(ET);
834 genTypeInstance(ET);
838 void RSReflectionCpp::genTypeInstance(const RSExportType *ET) {
839 switch (ET->getClass()) {
844 std::string TypeName = ET->getElementName();
854 void RSReflectionCpp::genInitExportVariable(const RSExportType *ET,
859 switch (ET->getClass()) {
862 static_cast<const RSExportPrimitiveType*>(ET);
878 static_cast<const RSExportVectorType*>(ET);