IFCReaderGen.cpp 314 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825
  1. /*
  2. Open Asset Import Library (ASSIMP)
  3. ----------------------------------------------------------------------
  4. Copyright (c) 2006-2010, ASSIMP Development Team
  5. All rights reserved.
  6. Redistribution and use of this software in source and binary forms,
  7. with or without modification, are permitted provided that the
  8. following conditions are met:
  9. * Redistributions of source code must retain the above
  10. copyright notice, this list of conditions and the
  11. following disclaimer.
  12. * Redistributions in binary form must reproduce the above
  13. copyright notice, this list of conditions and the
  14. following disclaimer in the documentation and/or other
  15. materials provided with the distribution.
  16. * Neither the name of the ASSIMP team, nor the names of its
  17. contributors may be used to endorse or promote products
  18. derived from this software without specific prior
  19. written permission of the ASSIMP Development Team.
  20. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  21. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  22. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  23. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  24. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  25. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  26. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  27. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  28. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  29. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  30. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  31. ----------------------------------------------------------------------
  32. */
  33. /** MACHINE-GENERATED by scripts/ICFImporter/CppGenerator.py */
  34. #include "AssimpPCH.h"
  35. #ifndef ASSIMP_BUILD_NO_IFC_IMPORTER
  36. #include "IFCReaderGen.h"
  37. namespace Assimp {
  38. using namespace IFC;
  39. namespace {
  40. typedef EXPRESS::ConversionSchema::SchemaEntry SchemaEntry;
  41. const SchemaEntry schema_raw[] = {
  42. SchemaEntry("ifcsoundpowermeasure",NULL )
  43. , SchemaEntry("ifcdoorstyleoperationenum",NULL )
  44. , SchemaEntry("ifcrotationalfrequencymeasure",NULL )
  45. , SchemaEntry("ifccharacterstyleselect",NULL )
  46. , SchemaEntry("ifcelectrictimecontroltypeenum",NULL )
  47. , SchemaEntry("ifcairterminaltypeenum",NULL )
  48. , SchemaEntry("ifcprojectordertypeenum",NULL )
  49. , SchemaEntry("ifcsequenceenum",NULL )
  50. , SchemaEntry("ifcspecificheatcapacitymeasure",NULL )
  51. , SchemaEntry("ifcheatingvaluemeasure",NULL )
  52. , SchemaEntry("ifcribplatedirectionenum",NULL )
  53. , SchemaEntry("ifcsensortypeenum",NULL )
  54. , SchemaEntry("ifcelectricheatertypeenum",NULL )
  55. , SchemaEntry("ifcobjectiveenum",NULL )
  56. , SchemaEntry("ifctextstyleselect",NULL )
  57. , SchemaEntry("ifccolumntypeenum",NULL )
  58. , SchemaEntry("ifcgasterminaltypeenum",NULL )
  59. , SchemaEntry("ifcmassdensitymeasure",NULL )
  60. , SchemaEntry("ifcsimplevalue",NULL )
  61. , SchemaEntry("ifcelectricconductancemeasure",NULL )
  62. , SchemaEntry("ifcbuildingelementproxytypeenum",NULL )
  63. , SchemaEntry("ifcjunctionboxtypeenum",NULL )
  64. , SchemaEntry("ifcmodulusofelasticitymeasure",NULL )
  65. , SchemaEntry("ifcactionsourcetypeenum",NULL )
  66. , SchemaEntry("ifcsiunitname",NULL )
  67. , SchemaEntry("ifcrotationalmassmeasure",NULL )
  68. , SchemaEntry("ifcmembertypeenum",NULL )
  69. , SchemaEntry("ifctextdecoration",NULL )
  70. , SchemaEntry("ifcpositivelengthmeasure",NULL )
  71. , SchemaEntry("ifcamountofsubstancemeasure",NULL )
  72. , SchemaEntry("ifcdoorstyleconstructionenum",NULL )
  73. , SchemaEntry("ifcangularvelocitymeasure",NULL )
  74. , SchemaEntry("ifcdirectionsenseenum",NULL )
  75. , SchemaEntry("ifcnullstyle",NULL )
  76. , SchemaEntry("ifcmonthinyearnumber",NULL )
  77. , SchemaEntry("ifcrampflighttypeenum",NULL )
  78. , SchemaEntry("ifcwindowstyleoperationenum",NULL )
  79. , SchemaEntry("ifccurvaturemeasure",NULL )
  80. , SchemaEntry("ifcbooleanoperator",NULL )
  81. , SchemaEntry("ifcductfittingtypeenum",NULL )
  82. , SchemaEntry("ifccurrencyenum",NULL )
  83. , SchemaEntry("ifcobjecttypeenum",NULL )
  84. , SchemaEntry("ifcthermalloadtypeenum",NULL )
  85. , SchemaEntry("ifcionconcentrationmeasure",NULL )
  86. , SchemaEntry("ifcclassificationnotationselect",NULL )
  87. , SchemaEntry("ifcbsplinecurveform",NULL )
  88. , SchemaEntry("ifcelementcompositionenum",NULL )
  89. , SchemaEntry("ifcdraughtingcalloutelement",NULL )
  90. , SchemaEntry("ifcfillstyleselect",NULL )
  91. , SchemaEntry("ifcheatfluxdensitymeasure",NULL )
  92. , SchemaEntry("ifcgeometricprojectionenum",NULL )
  93. , SchemaEntry("ifcfontvariant",NULL )
  94. , SchemaEntry("ifcthermalresistancemeasure",NULL )
  95. , SchemaEntry("ifcreflectancemethodenum",NULL )
  96. , SchemaEntry("ifcslabtypeenum",NULL )
  97. , SchemaEntry("ifcpositiveratiomeasure",NULL )
  98. , SchemaEntry("ifcinternalorexternalenum",NULL )
  99. , SchemaEntry("ifcdimensionextentusage",NULL )
  100. , SchemaEntry("ifcpipefittingtypeenum",NULL )
  101. , SchemaEntry("ifcsanitaryterminaltypeenum",NULL )
  102. , SchemaEntry("ifcminuteinhour",NULL )
  103. , SchemaEntry("ifcwalltypeenum",NULL )
  104. , SchemaEntry("ifcmolecularweightmeasure",NULL )
  105. , SchemaEntry("ifcunitaryequipmenttypeenum",NULL )
  106. , SchemaEntry("ifcproceduretypeenum",NULL )
  107. , SchemaEntry("ifcdistributionchamberelementtypeenum",NULL )
  108. , SchemaEntry("ifctextpath",NULL )
  109. , SchemaEntry("ifccostscheduletypeenum",NULL )
  110. , SchemaEntry("ifcshell",NULL )
  111. , SchemaEntry("ifclinearmomentmeasure",NULL )
  112. , SchemaEntry("ifcelectriccurrentmeasure",NULL )
  113. , SchemaEntry("ifcdaylightsavinghour",NULL )
  114. , SchemaEntry("ifcnormalisedratiomeasure",NULL )
  115. , SchemaEntry("ifcfantypeenum",NULL )
  116. , SchemaEntry("ifccontextdependentmeasure",NULL )
  117. , SchemaEntry("ifcaheadorbehind",NULL )
  118. , SchemaEntry("ifcfontstyle",NULL )
  119. , SchemaEntry("ifccooledbeamtypeenum",NULL )
  120. , SchemaEntry("ifcsurfacestyleelementselect",NULL )
  121. , SchemaEntry("ifcyearnumber",NULL )
  122. , SchemaEntry("ifclabel",NULL )
  123. , SchemaEntry("ifctimestamp",NULL )
  124. , SchemaEntry("ifcfiresuppressionterminaltypeenum",NULL )
  125. , SchemaEntry("ifcdocumentconfidentialityenum",NULL )
  126. , SchemaEntry("ifccolourorfactor",NULL )
  127. , SchemaEntry("ifcairterminalboxtypeenum",NULL )
  128. , SchemaEntry("ifcnumericmeasure",NULL )
  129. , SchemaEntry("ifcderivedunitenum",NULL )
  130. , SchemaEntry("ifccurveoredgecurve",NULL )
  131. , SchemaEntry("ifclightemissionsourceenum",NULL )
  132. , SchemaEntry("ifckinematicviscositymeasure",NULL )
  133. , SchemaEntry("ifcboxalignment",NULL )
  134. , SchemaEntry("ifcdocumentselect",NULL )
  135. , SchemaEntry("ifccablecarrierfittingtypeenum",NULL )
  136. , SchemaEntry("ifcpumptypeenum",NULL )
  137. , SchemaEntry("ifchourinday",NULL )
  138. , SchemaEntry("ifcprojectorderrecordtypeenum",NULL )
  139. , SchemaEntry("ifcwindowstyleconstructionenum",NULL )
  140. , SchemaEntry("ifcpresentationstyleselect",NULL )
  141. , SchemaEntry("ifccablesegmenttypeenum",NULL )
  142. , SchemaEntry("ifcwasteterminaltypeenum",NULL )
  143. , SchemaEntry("ifcisothermalmoisturecapacitymeasure",NULL )
  144. , SchemaEntry("ifcidentifier",NULL )
  145. , SchemaEntry("ifcradioactivitymeasure",NULL )
  146. , SchemaEntry("ifcsymbolstyleselect",NULL )
  147. , SchemaEntry("ifcobjectreferenceselect",NULL )
  148. , SchemaEntry("ifcrooftypeenum",NULL )
  149. , SchemaEntry("ifcreal",NULL )
  150. , SchemaEntry("ifcroleenum",NULL )
  151. , SchemaEntry("ifcmeasurevalue",NULL )
  152. , SchemaEntry("ifcpiletypeenum",NULL )
  153. , SchemaEntry("ifcelectriccurrentenum",NULL )
  154. , SchemaEntry("ifctexttransformation",NULL )
  155. , SchemaEntry("ifcfiltertypeenum",NULL )
  156. , SchemaEntry("ifctransformertypeenum",NULL )
  157. , SchemaEntry("ifcsurfaceside",NULL )
  158. , SchemaEntry("ifcspaceheatertypeenum",NULL )
  159. , SchemaEntry("ifcthermaltransmittancemeasure",NULL )
  160. , SchemaEntry("ifctubebundletypeenum",NULL )
  161. , SchemaEntry("ifclightfixturetypeenum",NULL )
  162. , SchemaEntry("ifcinductancemeasure",NULL )
  163. , SchemaEntry("ifcglobalorlocalenum",NULL )
  164. , SchemaEntry("ifcoutlettypeenum",NULL )
  165. , SchemaEntry("ifcworkcontroltypeenum",NULL )
  166. , SchemaEntry("ifcwarpingmomentmeasure",NULL )
  167. , SchemaEntry("ifcdynamicviscositymeasure",NULL )
  168. , SchemaEntry("ifcenergysequenceenum",NULL )
  169. , SchemaEntry("ifcfillareastyletileshapeselect",NULL )
  170. , SchemaEntry("ifcpointorvertexpoint",NULL )
  171. , SchemaEntry("ifcvibrationisolatortypeenum",NULL )
  172. , SchemaEntry("ifctanktypeenum",NULL )
  173. , SchemaEntry("ifctimeseriesdatatypeenum",NULL )
  174. , SchemaEntry("ifcsurfacetextureenum",NULL )
  175. , SchemaEntry("ifcaddresstypeenum",NULL )
  176. , SchemaEntry("ifcchillertypeenum",NULL )
  177. , SchemaEntry("ifccomplexnumber",NULL )
  178. , SchemaEntry("ifclightdistributioncurveenum",NULL )
  179. , SchemaEntry("ifcreinforcingbarroleenum",NULL )
  180. , SchemaEntry("ifcresourceconsumptionenum",NULL )
  181. , SchemaEntry("ifccsgselect",NULL )
  182. , SchemaEntry("ifcmodulusoflinearsubgradereactionmeasure",NULL )
  183. , SchemaEntry("ifcevaporatortypeenum",NULL )
  184. , SchemaEntry("ifctimeseriesscheduletypeenum",NULL )
  185. , SchemaEntry("ifcdayinmonthnumber",NULL )
  186. , SchemaEntry("ifcelectricmotortypeenum",NULL )
  187. , SchemaEntry("ifcthermalconductivitymeasure",NULL )
  188. , SchemaEntry("ifcenergymeasure",NULL )
  189. , SchemaEntry("ifcrotationalstiffnessmeasure",NULL )
  190. , SchemaEntry("ifcderivedmeasurevalue",NULL )
  191. , SchemaEntry("ifcdoorpaneloperationenum",NULL )
  192. , SchemaEntry("ifccurvestylefontselect",NULL )
  193. , SchemaEntry("ifcwindowpaneloperationenum",NULL )
  194. , SchemaEntry("ifcdataoriginenum",NULL )
  195. , SchemaEntry("ifcstairtypeenum",NULL )
  196. , SchemaEntry("ifcrailingtypeenum",NULL )
  197. , SchemaEntry("ifcpowermeasure",NULL )
  198. , SchemaEntry("ifcstackterminaltypeenum",NULL )
  199. , SchemaEntry("ifchatchlinedistanceselect",NULL )
  200. , SchemaEntry("ifctrimmingselect",NULL )
  201. , SchemaEntry("ifcthermalexpansioncoefficientmeasure",NULL )
  202. , SchemaEntry("ifclightdistributiondatasourceselect",NULL )
  203. , SchemaEntry("ifctorquemeasure",NULL )
  204. , SchemaEntry("ifcmassperlengthmeasure",NULL )
  205. , SchemaEntry("ifcvalvetypeenum",NULL )
  206. , SchemaEntry("ifcwindowpanelpositionenum",NULL )
  207. , SchemaEntry("ifcsurfaceorfacesurface",NULL )
  208. , SchemaEntry("ifcpropertysourceenum",NULL )
  209. , SchemaEntry("ifccablecarriersegmenttypeenum",NULL )
  210. , SchemaEntry("ifccountmeasure",NULL )
  211. , SchemaEntry("ifcfontweight",NULL )
  212. , SchemaEntry("ifcphysicalorvirtualenum",NULL )
  213. , SchemaEntry("ifcspacetypeenum",NULL )
  214. , SchemaEntry("ifcvolumetricflowratemeasure",NULL )
  215. , SchemaEntry("ifcluminousfluxmeasure",NULL )
  216. , SchemaEntry("ifcevaporativecoolertypeenum",NULL )
  217. , SchemaEntry("ifclayereditem",NULL )
  218. , SchemaEntry("ifcmodulusofsubgradereactionmeasure",NULL )
  219. , SchemaEntry("ifcheatexchangertypeenum",NULL )
  220. , SchemaEntry("ifcprotectivedevicetypeenum",NULL )
  221. , SchemaEntry("ifcdampertypeenum",NULL )
  222. , SchemaEntry("ifccontrollertypeenum",NULL )
  223. , SchemaEntry("ifcmassflowratemeasure",NULL )
  224. , SchemaEntry("ifcassemblyplaceenum",NULL )
  225. , SchemaEntry("ifcareameasure",NULL )
  226. , SchemaEntry("ifcservicelifefactortypeenum",NULL )
  227. , SchemaEntry("ifcvolumemeasure",NULL )
  228. , SchemaEntry("ifcbeamtypeenum",NULL )
  229. , SchemaEntry("ifcstateenum",NULL )
  230. , SchemaEntry("ifcsectiontypeenum",NULL )
  231. , SchemaEntry("ifcfootingtypeenum",NULL )
  232. , SchemaEntry("ifcmonetarymeasure",NULL )
  233. , SchemaEntry("ifcloadgrouptypeenum",NULL )
  234. , SchemaEntry("ifcelectricgeneratortypeenum",NULL )
  235. , SchemaEntry("ifcflowmetertypeenum",NULL )
  236. , SchemaEntry("ifcmaterialselect",NULL )
  237. , SchemaEntry("ifcanalysismodeltypeenum",NULL )
  238. , SchemaEntry("ifctemperaturegradientmeasure",NULL )
  239. , SchemaEntry("ifcmodulusofrotationalsubgradereactionmeasure",NULL )
  240. , SchemaEntry("ifccolour",NULL )
  241. , SchemaEntry("ifccurtainwalltypeenum",NULL )
  242. , SchemaEntry("ifcmetricvalueselect",NULL )
  243. , SchemaEntry("ifctextalignment",NULL )
  244. , SchemaEntry("ifcdoorpanelpositionenum",NULL )
  245. , SchemaEntry("ifcplatetypeenum",NULL )
  246. , SchemaEntry("ifcsectionalareaintegralmeasure",NULL )
  247. , SchemaEntry("ifcpresentabletext",NULL )
  248. , SchemaEntry("ifcvaporpermeabilitymeasure",NULL )
  249. , SchemaEntry("ifcstructuralsurfacetypeenum",NULL )
  250. , SchemaEntry("ifclinearvelocitymeasure",NULL )
  251. , SchemaEntry("ifcintegercountratemeasure",NULL )
  252. , SchemaEntry("ifcairtoairheatrecoverytypeenum",NULL )
  253. , SchemaEntry("ifcdocumentstatusenum",NULL )
  254. , SchemaEntry("ifclengthmeasure",NULL )
  255. , SchemaEntry("ifcplanarforcemeasure",NULL )
  256. , SchemaEntry("ifcbooleanoperand",NULL )
  257. , SchemaEntry("ifcinteger",NULL )
  258. , SchemaEntry("ifcramptypeenum",NULL )
  259. , SchemaEntry("ifcactorselect",NULL )
  260. , SchemaEntry("ifcelectricchargemeasure",NULL )
  261. , SchemaEntry("ifcgeometricsetselect",NULL )
  262. , SchemaEntry("ifcconnectiontypeenum",NULL )
  263. , SchemaEntry("ifcvalue",NULL )
  264. , SchemaEntry("ifccoolingtowertypeenum",NULL )
  265. , SchemaEntry("ifcplaneanglemeasure",NULL )
  266. , SchemaEntry("ifcswitchingdevicetypeenum",NULL )
  267. , SchemaEntry("ifcflowdirectionenum",NULL )
  268. , SchemaEntry("ifcthermalloadsourceenum",NULL )
  269. , SchemaEntry("ifctextfontselect",NULL )
  270. , SchemaEntry("ifcspecularhighlightselect",NULL )
  271. , SchemaEntry("ifcanalysistheorytypeenum",NULL )
  272. , SchemaEntry("ifctextfontname",NULL )
  273. , SchemaEntry("ifcelectricvoltagemeasure",NULL )
  274. , SchemaEntry("ifctendontypeenum",NULL )
  275. , SchemaEntry("ifcsoundpressuremeasure",NULL )
  276. , SchemaEntry("ifcelectricdistributionpointfunctionenum",NULL )
  277. , SchemaEntry("ifcspecularroughness",NULL )
  278. , SchemaEntry("ifcactiontypeenum",NULL )
  279. , SchemaEntry("ifcreinforcingbarsurfaceenum",NULL )
  280. , SchemaEntry("ifchumidifiertypeenum",NULL )
  281. , SchemaEntry("ifcilluminancemeasure",NULL )
  282. , SchemaEntry("ifclibraryselect",NULL )
  283. , SchemaEntry("ifctext",NULL )
  284. , SchemaEntry("ifclayersetdirectionenum",NULL )
  285. , SchemaEntry("ifcboilertypeenum",NULL )
  286. , SchemaEntry("ifctimemeasure",NULL )
  287. , SchemaEntry("ifcaccelerationmeasure",NULL )
  288. , SchemaEntry("ifcelectricflowstoragedevicetypeenum",NULL )
  289. , SchemaEntry("ifcluminousintensitymeasure",NULL )
  290. , SchemaEntry("ifcdefinedsymbolselect",NULL )
  291. , SchemaEntry("ifcunitenum",NULL )
  292. , SchemaEntry("ifcinventorytypeenum",NULL )
  293. , SchemaEntry("ifcstructuralactivityassignmentselect",NULL )
  294. , SchemaEntry("ifcelementassemblytypeenum",NULL )
  295. , SchemaEntry("ifcservicelifetypeenum",NULL )
  296. , SchemaEntry("ifccoveringtypeenum",NULL )
  297. , SchemaEntry("ifcstairflighttypeenum",NULL )
  298. , SchemaEntry("ifcsiprefix",NULL )
  299. , SchemaEntry("ifcelectriccapacitancemeasure",NULL )
  300. , SchemaEntry("ifcflowinstrumenttypeenum",NULL )
  301. , SchemaEntry("ifcthermodynamictemperaturemeasure",NULL )
  302. , SchemaEntry("ifcgloballyuniqueid",NULL )
  303. , SchemaEntry("ifclamptypeenum",NULL )
  304. , SchemaEntry("ifcmagneticfluxmeasure",NULL )
  305. , SchemaEntry("ifcsolidanglemeasure",NULL )
  306. , SchemaEntry("ifcfrequencymeasure",NULL )
  307. , SchemaEntry("ifctransportelementtypeenum",NULL )
  308. , SchemaEntry("ifcsoundscaleenum",NULL )
  309. , SchemaEntry("ifcphmeasure",NULL )
  310. , SchemaEntry("ifcactuatortypeenum",NULL )
  311. , SchemaEntry("ifcpositiveplaneanglemeasure",NULL )
  312. , SchemaEntry("ifcappliedvalueselect",NULL )
  313. , SchemaEntry("ifcsecondinminute",NULL )
  314. , SchemaEntry("ifcductsegmenttypeenum",NULL )
  315. , SchemaEntry("ifcthermaladmittancemeasure",NULL )
  316. , SchemaEntry("ifcspecularexponent",NULL )
  317. , SchemaEntry("ifcdatetimeselect",NULL )
  318. , SchemaEntry("ifctransitioncode",NULL )
  319. , SchemaEntry("ifcdimensioncount",NULL )
  320. , SchemaEntry("ifclinearstiffnessmeasure",NULL )
  321. , SchemaEntry("ifccompoundplaneanglemeasure",NULL )
  322. , SchemaEntry("ifcelectricappliancetypeenum",NULL )
  323. , SchemaEntry("ifcprofiletypeenum",NULL )
  324. , SchemaEntry("ifccurvefontorscaledcurvefontselect",NULL )
  325. , SchemaEntry("ifcprojectedortruelengthenum",NULL )
  326. , SchemaEntry("ifcabsorbeddosemeasure",NULL )
  327. , SchemaEntry("ifcparametervalue",NULL )
  328. , SchemaEntry("ifcpileconstructionenum",NULL )
  329. , SchemaEntry("ifcmotorconnectiontypeenum",NULL )
  330. , SchemaEntry("ifcoccupanttypeenum",NULL )
  331. , SchemaEntry("ifcunit",NULL )
  332. , SchemaEntry("ifclinearforcemeasure",NULL )
  333. , SchemaEntry("ifccondensertypeenum",NULL )
  334. , SchemaEntry("ifcdescriptivemeasure",NULL )
  335. , SchemaEntry("ifcmomentofinertiameasure",NULL )
  336. , SchemaEntry("ifcdoseequivalentmeasure",NULL )
  337. , SchemaEntry("ifcorientationselect",NULL )
  338. , SchemaEntry("ifclogical",NULL )
  339. , SchemaEntry("ifcsizeselect",NULL )
  340. , SchemaEntry("ifcenvironmentalimpactcategoryenum",NULL )
  341. , SchemaEntry("ifclogicaloperatorenum",NULL )
  342. , SchemaEntry("ifccompressortypeenum",NULL )
  343. , SchemaEntry("ifcbenchmarkenum",NULL )
  344. , SchemaEntry("ifcratiomeasure",NULL )
  345. , SchemaEntry("ifcvectorordirection",NULL )
  346. , SchemaEntry("ifcconstraintenum",NULL )
  347. , SchemaEntry("ifcalarmtypeenum",NULL )
  348. , SchemaEntry("ifcluminousintensitydistributionmeasure",NULL )
  349. , SchemaEntry("ifcarithmeticoperatorenum",NULL )
  350. , SchemaEntry("ifcaxis2placement",NULL )
  351. , SchemaEntry("ifcforcemeasure",NULL )
  352. , SchemaEntry("ifctrimmingpreference",NULL )
  353. , SchemaEntry("ifcelectricresistancemeasure",NULL )
  354. , SchemaEntry("ifcwarpingconstantmeasure",NULL )
  355. , SchemaEntry("ifcpipesegmenttypeenum",NULL )
  356. , SchemaEntry("ifcconditioncriterionselect",NULL )
  357. , SchemaEntry("ifcshearmodulusmeasure",NULL )
  358. , SchemaEntry("ifcpressuremeasure",NULL )
  359. , SchemaEntry("ifcductsilencertypeenum",NULL )
  360. , SchemaEntry("ifcboolean",NULL )
  361. , SchemaEntry("ifcsectionmodulusmeasure",NULL )
  362. , SchemaEntry("ifcchangeactionenum",NULL )
  363. , SchemaEntry("ifccoiltypeenum",NULL )
  364. , SchemaEntry("ifcmassmeasure",NULL )
  365. , SchemaEntry("ifcstructuralcurvetypeenum",NULL )
  366. , SchemaEntry("ifcpermeablecoveringoperationenum",NULL )
  367. , SchemaEntry("ifcmagneticfluxdensitymeasure",NULL )
  368. , SchemaEntry("ifcmoisturediffusivitymeasure",NULL )
  369. , SchemaEntry("ifcprofiledef",&STEP::ObjectHelper<IfcProfileDef,2>::Construct )
  370. , SchemaEntry("ifcparameterizedprofiledef",&STEP::ObjectHelper<IfcParameterizedProfileDef,1>::Construct )
  371. , SchemaEntry("ifczshapeprofiledef",&STEP::ObjectHelper<IfcZShapeProfileDef,6>::Construct )
  372. , SchemaEntry("ifcroot",&STEP::ObjectHelper<IfcRoot,4>::Construct )
  373. , SchemaEntry("ifcobjectdefinition",&STEP::ObjectHelper<IfcObjectDefinition,0>::Construct )
  374. , SchemaEntry("ifctypeobject",&STEP::ObjectHelper<IfcTypeObject,2>::Construct )
  375. , SchemaEntry("ifctypeproduct",&STEP::ObjectHelper<IfcTypeProduct,2>::Construct )
  376. , SchemaEntry("ifcelementtype",&STEP::ObjectHelper<IfcElementType,1>::Construct )
  377. , SchemaEntry("ifcfurnishingelementtype",&STEP::ObjectHelper<IfcFurnishingElementType,0>::Construct )
  378. , SchemaEntry("ifcfurnituretype",&STEP::ObjectHelper<IfcFurnitureType,1>::Construct )
  379. , SchemaEntry("ifcobject",&STEP::ObjectHelper<IfcObject,1>::Construct )
  380. , SchemaEntry("ifcproduct",&STEP::ObjectHelper<IfcProduct,2>::Construct )
  381. , SchemaEntry("ifcgrid",&STEP::ObjectHelper<IfcGrid,3>::Construct )
  382. , SchemaEntry("ifcrepresentationitem",&STEP::ObjectHelper<IfcRepresentationItem,0>::Construct )
  383. , SchemaEntry("ifcgeometricrepresentationitem",&STEP::ObjectHelper<IfcGeometricRepresentationItem,0>::Construct )
  384. , SchemaEntry("ifconedirectionrepeatfactor",&STEP::ObjectHelper<IfcOneDirectionRepeatFactor,1>::Construct )
  385. , SchemaEntry("ifctwodirectionrepeatfactor",&STEP::ObjectHelper<IfcTwoDirectionRepeatFactor,1>::Construct )
  386. , SchemaEntry("ifcelement",&STEP::ObjectHelper<IfcElement,1>::Construct )
  387. , SchemaEntry("ifcelementcomponent",&STEP::ObjectHelper<IfcElementComponent,0>::Construct )
  388. , SchemaEntry("ifclocaltime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  389. , SchemaEntry("ifcspatialstructureelementtype",&STEP::ObjectHelper<IfcSpatialStructureElementType,0>::Construct )
  390. , SchemaEntry("ifccontrol",&STEP::ObjectHelper<IfcControl,0>::Construct )
  391. , SchemaEntry("ifcactionrequest",&STEP::ObjectHelper<IfcActionRequest,1>::Construct )
  392. , SchemaEntry("ifctexturevertex",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  393. , SchemaEntry("ifcpropertydefinition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  394. , SchemaEntry("ifcpropertysetdefinition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  395. , SchemaEntry("ifcfluidflowproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  396. , SchemaEntry("ifcdocumentinformation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  397. , SchemaEntry("ifccalendardate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  398. , SchemaEntry("ifcdistributionelementtype",&STEP::ObjectHelper<IfcDistributionElementType,0>::Construct )
  399. , SchemaEntry("ifcdistributionflowelementtype",&STEP::ObjectHelper<IfcDistributionFlowElementType,0>::Construct )
  400. , SchemaEntry("ifcenergyconversiondevicetype",&STEP::ObjectHelper<IfcEnergyConversionDeviceType,0>::Construct )
  401. , SchemaEntry("ifccooledbeamtype",&STEP::ObjectHelper<IfcCooledBeamType,1>::Construct )
  402. , SchemaEntry("ifccsgprimitive3d",&STEP::ObjectHelper<IfcCsgPrimitive3D,1>::Construct )
  403. , SchemaEntry("ifcrectangularpyramid",&STEP::ObjectHelper<IfcRectangularPyramid,3>::Construct )
  404. , SchemaEntry("ifcstructuralload",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  405. , SchemaEntry("ifcstructuralloadstatic",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  406. , SchemaEntry("ifcstructuralloadlinearforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  407. , SchemaEntry("ifcsurface",&STEP::ObjectHelper<IfcSurface,0>::Construct )
  408. , SchemaEntry("ifcboundedsurface",&STEP::ObjectHelper<IfcBoundedSurface,0>::Construct )
  409. , SchemaEntry("ifcrectangulartrimmedsurface",&STEP::ObjectHelper<IfcRectangularTrimmedSurface,7>::Construct )
  410. , SchemaEntry("ifcphysicalquantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  411. , SchemaEntry("ifcphysicalsimplequantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  412. , SchemaEntry("ifcquantityvolume",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  413. , SchemaEntry("ifcquantityarea",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  414. , SchemaEntry("ifcgroup",&STEP::ObjectHelper<IfcGroup,0>::Construct )
  415. , SchemaEntry("ifcrelationship",&STEP::ObjectHelper<IfcRelationship,0>::Construct )
  416. , SchemaEntry("ifcrelassigns",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  417. , SchemaEntry("ifcrelassignstoactor",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  418. , SchemaEntry("ifchalfspacesolid",&STEP::ObjectHelper<IfcHalfSpaceSolid,2>::Construct )
  419. , SchemaEntry("ifcpolygonalboundedhalfspace",&STEP::ObjectHelper<IfcPolygonalBoundedHalfSpace,2>::Construct )
  420. , SchemaEntry("ifcenergyproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  421. , SchemaEntry("ifcairtoairheatrecoverytype",&STEP::ObjectHelper<IfcAirToAirHeatRecoveryType,1>::Construct )
  422. , SchemaEntry("ifcflowfittingtype",&STEP::ObjectHelper<IfcFlowFittingType,0>::Construct )
  423. , SchemaEntry("ifcpipefittingtype",&STEP::ObjectHelper<IfcPipeFittingType,1>::Construct )
  424. , SchemaEntry("ifcrepresentation",&STEP::ObjectHelper<IfcRepresentation,4>::Construct )
  425. , SchemaEntry("ifcstylemodel",&STEP::ObjectHelper<IfcStyleModel,0>::Construct )
  426. , SchemaEntry("ifcstyledrepresentation",&STEP::ObjectHelper<IfcStyledRepresentation,0>::Construct )
  427. , SchemaEntry("ifcrelassignstocontrol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  428. , SchemaEntry("ifcrelassignstoprojectorder",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  429. , SchemaEntry("ifcdimensionalexponents",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  430. , SchemaEntry("ifcbooleanresult",&STEP::ObjectHelper<IfcBooleanResult,3>::Construct )
  431. , SchemaEntry("ifcsoundproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  432. , SchemaEntry("ifcfeatureelement",&STEP::ObjectHelper<IfcFeatureElement,0>::Construct )
  433. , SchemaEntry("ifcfeatureelementsubtraction",&STEP::ObjectHelper<IfcFeatureElementSubtraction,0>::Construct )
  434. , SchemaEntry("ifcopeningelement",&STEP::ObjectHelper<IfcOpeningElement,0>::Construct )
  435. , SchemaEntry("ifcconditioncriterion",&STEP::ObjectHelper<IfcConditionCriterion,2>::Construct )
  436. , SchemaEntry("ifcflowterminaltype",&STEP::ObjectHelper<IfcFlowTerminalType,0>::Construct )
  437. , SchemaEntry("ifcflowcontrollertype",&STEP::ObjectHelper<IfcFlowControllerType,0>::Construct )
  438. , SchemaEntry("ifcswitchingdevicetype",&STEP::ObjectHelper<IfcSwitchingDeviceType,1>::Construct )
  439. , SchemaEntry("ifcsystem",&STEP::ObjectHelper<IfcSystem,0>::Construct )
  440. , SchemaEntry("ifcelectricalcircuit",&STEP::ObjectHelper<IfcElectricalCircuit,0>::Construct )
  441. , SchemaEntry("ifcactorrole",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  442. , SchemaEntry("ifcdateandtime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  443. , SchemaEntry("ifcdraughtingcalloutrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  444. , SchemaEntry("ifcdimensioncalloutrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  445. , SchemaEntry("ifcderivedunitelement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  446. , SchemaEntry("ifcexternalreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  447. , SchemaEntry("ifcclassificationreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  448. , SchemaEntry("ifcunitaryequipmenttype",&STEP::ObjectHelper<IfcUnitaryEquipmentType,1>::Construct )
  449. , SchemaEntry("ifcproperty",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  450. , SchemaEntry("ifcport",&STEP::ObjectHelper<IfcPort,0>::Construct )
  451. , SchemaEntry("ifcaddress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  452. , SchemaEntry("ifcplacement",&STEP::ObjectHelper<IfcPlacement,1>::Construct )
  453. , SchemaEntry("ifcpredefineditem",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  454. , SchemaEntry("ifcpredefinedcolour",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  455. , SchemaEntry("ifcdraughtingpredefinedcolour",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  456. , SchemaEntry("ifcarbitraryclosedprofiledef",&STEP::ObjectHelper<IfcArbitraryClosedProfileDef,1>::Construct )
  457. , SchemaEntry("ifccurve",&STEP::ObjectHelper<IfcCurve,0>::Construct )
  458. , SchemaEntry("ifcconic",&STEP::ObjectHelper<IfcConic,1>::Construct )
  459. , SchemaEntry("ifccircle",&STEP::ObjectHelper<IfcCircle,1>::Construct )
  460. , SchemaEntry("ifcappliedvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  461. , SchemaEntry("ifcenvironmentalimpactvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  462. , SchemaEntry("ifcsimpleproperty",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  463. , SchemaEntry("ifcpropertysinglevalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  464. , SchemaEntry("ifcelementarysurface",&STEP::ObjectHelper<IfcElementarySurface,1>::Construct )
  465. , SchemaEntry("ifcplane",&STEP::ObjectHelper<IfcPlane,0>::Construct )
  466. , SchemaEntry("ifcpropertyboundedvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  467. , SchemaEntry("ifccostschedule",&STEP::ObjectHelper<IfcCostSchedule,8>::Construct )
  468. , SchemaEntry("ifcmonetaryunit",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  469. , SchemaEntry("ifcconnectiongeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  470. , SchemaEntry("ifcconnectioncurvegeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  471. , SchemaEntry("ifcrightcircularcone",&STEP::ObjectHelper<IfcRightCircularCone,2>::Construct )
  472. , SchemaEntry("ifcelementassembly",&STEP::ObjectHelper<IfcElementAssembly,2>::Construct )
  473. , SchemaEntry("ifcbuildingelement",&STEP::ObjectHelper<IfcBuildingElement,0>::Construct )
  474. , SchemaEntry("ifcmember",&STEP::ObjectHelper<IfcMember,0>::Construct )
  475. , SchemaEntry("ifcpropertydependencyrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  476. , SchemaEntry("ifcbuildingelementproxy",&STEP::ObjectHelper<IfcBuildingElementProxy,1>::Construct )
  477. , SchemaEntry("ifcstructuralactivity",&STEP::ObjectHelper<IfcStructuralActivity,2>::Construct )
  478. , SchemaEntry("ifcstructuralaction",&STEP::ObjectHelper<IfcStructuralAction,2>::Construct )
  479. , SchemaEntry("ifcstructuralplanaraction",&STEP::ObjectHelper<IfcStructuralPlanarAction,1>::Construct )
  480. , SchemaEntry("ifctopologicalrepresentationitem",&STEP::ObjectHelper<IfcTopologicalRepresentationItem,0>::Construct )
  481. , SchemaEntry("ifcconnectedfaceset",&STEP::ObjectHelper<IfcConnectedFaceSet,1>::Construct )
  482. , SchemaEntry("ifcsweptsurface",&STEP::ObjectHelper<IfcSweptSurface,2>::Construct )
  483. , SchemaEntry("ifcsurfaceoflinearextrusion",&STEP::ObjectHelper<IfcSurfaceOfLinearExtrusion,2>::Construct )
  484. , SchemaEntry("ifcarbitraryprofiledefwithvoids",&STEP::ObjectHelper<IfcArbitraryProfileDefWithVoids,1>::Construct )
  485. , SchemaEntry("ifcprocess",&STEP::ObjectHelper<IfcProcess,0>::Construct )
  486. , SchemaEntry("ifcprocedure",&STEP::ObjectHelper<IfcProcedure,3>::Construct )
  487. , SchemaEntry("ifccurvestylefontpattern",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  488. , SchemaEntry("ifcvector",&STEP::ObjectHelper<IfcVector,2>::Construct )
  489. , SchemaEntry("ifcfacebound",&STEP::ObjectHelper<IfcFaceBound,2>::Construct )
  490. , SchemaEntry("ifcfaceouterbound",&STEP::ObjectHelper<IfcFaceOuterBound,0>::Construct )
  491. , SchemaEntry("ifcfeatureelementaddition",&STEP::ObjectHelper<IfcFeatureElementAddition,0>::Construct )
  492. , SchemaEntry("ifcnamedunit",&STEP::ObjectHelper<IfcNamedUnit,2>::Construct )
  493. , SchemaEntry("ifcconversionbasedunit",&STEP::ObjectHelper<IfcConversionBasedUnit,2>::Construct )
  494. , SchemaEntry("ifcstructuralloadsingleforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  495. , SchemaEntry("ifcheatexchangertype",&STEP::ObjectHelper<IfcHeatExchangerType,1>::Construct )
  496. , SchemaEntry("ifcpresentationstyleassignment",&STEP::ObjectHelper<IfcPresentationStyleAssignment,1>::Construct )
  497. , SchemaEntry("ifcflowtreatmentdevicetype",&STEP::ObjectHelper<IfcFlowTreatmentDeviceType,0>::Construct )
  498. , SchemaEntry("ifcfiltertype",&STEP::ObjectHelper<IfcFilterType,1>::Construct )
  499. , SchemaEntry("ifcresource",&STEP::ObjectHelper<IfcResource,0>::Construct )
  500. , SchemaEntry("ifcevaporativecoolertype",&STEP::ObjectHelper<IfcEvaporativeCoolerType,1>::Construct )
  501. , SchemaEntry("ifctexturecoordinate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  502. , SchemaEntry("ifctexturecoordinategenerator",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  503. , SchemaEntry("ifcoffsetcurve2d",&STEP::ObjectHelper<IfcOffsetCurve2D,3>::Construct )
  504. , SchemaEntry("ifcedge",&STEP::ObjectHelper<IfcEdge,2>::Construct )
  505. , SchemaEntry("ifcsubedge",&STEP::ObjectHelper<IfcSubedge,1>::Construct )
  506. , SchemaEntry("ifcproxy",&STEP::ObjectHelper<IfcProxy,2>::Construct )
  507. , SchemaEntry("ifcline",&STEP::ObjectHelper<IfcLine,2>::Construct )
  508. , SchemaEntry("ifccolumn",&STEP::ObjectHelper<IfcColumn,0>::Construct )
  509. , SchemaEntry("ifcclassificationnotationfacet",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  510. , SchemaEntry("ifcobjectplacement",&STEP::ObjectHelper<IfcObjectPlacement,0>::Construct )
  511. , SchemaEntry("ifcgridplacement",&STEP::ObjectHelper<IfcGridPlacement,2>::Construct )
  512. , SchemaEntry("ifcdistributioncontrolelementtype",&STEP::ObjectHelper<IfcDistributionControlElementType,0>::Construct )
  513. , SchemaEntry("ifcstructuralloadsingleforcewarping",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  514. , SchemaEntry("ifcexternallydefinedtextfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  515. , SchemaEntry("ifcrelconnects",&STEP::ObjectHelper<IfcRelConnects,0>::Construct )
  516. , SchemaEntry("ifcrelconnectselements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  517. , SchemaEntry("ifcrelconnectswithrealizingelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  518. , SchemaEntry("ifcconstraintclassificationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  519. , SchemaEntry("ifcannotation",&STEP::ObjectHelper<IfcAnnotation,0>::Construct )
  520. , SchemaEntry("ifcplate",&STEP::ObjectHelper<IfcPlate,0>::Construct )
  521. , SchemaEntry("ifcsolidmodel",&STEP::ObjectHelper<IfcSolidModel,0>::Construct )
  522. , SchemaEntry("ifcmanifoldsolidbrep",&STEP::ObjectHelper<IfcManifoldSolidBrep,1>::Construct )
  523. , SchemaEntry("ifcpredefinedcurvefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  524. , SchemaEntry("ifcboundarycondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  525. , SchemaEntry("ifcboundaryfacecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  526. , SchemaEntry("ifcflowstoragedevicetype",&STEP::ObjectHelper<IfcFlowStorageDeviceType,0>::Construct )
  527. , SchemaEntry("ifcstructuralitem",&STEP::ObjectHelper<IfcStructuralItem,0>::Construct )
  528. , SchemaEntry("ifcstructuralmember",&STEP::ObjectHelper<IfcStructuralMember,0>::Construct )
  529. , SchemaEntry("ifcstructuralcurvemember",&STEP::ObjectHelper<IfcStructuralCurveMember,1>::Construct )
  530. , SchemaEntry("ifcstructuralconnection",&STEP::ObjectHelper<IfcStructuralConnection,1>::Construct )
  531. , SchemaEntry("ifcstructuralsurfaceconnection",&STEP::ObjectHelper<IfcStructuralSurfaceConnection,0>::Construct )
  532. , SchemaEntry("ifccoiltype",&STEP::ObjectHelper<IfcCoilType,1>::Construct )
  533. , SchemaEntry("ifcductfittingtype",&STEP::ObjectHelper<IfcDuctFittingType,1>::Construct )
  534. , SchemaEntry("ifcstyleditem",&STEP::ObjectHelper<IfcStyledItem,3>::Construct )
  535. , SchemaEntry("ifcannotationoccurrence",&STEP::ObjectHelper<IfcAnnotationOccurrence,0>::Construct )
  536. , SchemaEntry("ifcannotationcurveoccurrence",&STEP::ObjectHelper<IfcAnnotationCurveOccurrence,0>::Construct )
  537. , SchemaEntry("ifcdimensioncurve",&STEP::ObjectHelper<IfcDimensionCurve,0>::Construct )
  538. , SchemaEntry("ifcboundedcurve",&STEP::ObjectHelper<IfcBoundedCurve,0>::Construct )
  539. , SchemaEntry("ifcaxis1placement",&STEP::ObjectHelper<IfcAxis1Placement,1>::Construct )
  540. , SchemaEntry("ifclightintensitydistribution",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  541. , SchemaEntry("ifcpredefinedsymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  542. , SchemaEntry("ifccolourspecification",&STEP::ObjectHelper<IfcColourSpecification,1>::Construct )
  543. , SchemaEntry("ifcstructuralpointaction",&STEP::ObjectHelper<IfcStructuralPointAction,0>::Construct )
  544. , SchemaEntry("ifcspatialstructureelement",&STEP::ObjectHelper<IfcSpatialStructureElement,2>::Construct )
  545. , SchemaEntry("ifcspace",&STEP::ObjectHelper<IfcSpace,2>::Construct )
  546. , SchemaEntry("ifccontextdependentunit",&STEP::ObjectHelper<IfcContextDependentUnit,1>::Construct )
  547. , SchemaEntry("ifcvirtualgridintersection",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  548. , SchemaEntry("ifcrelassociates",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  549. , SchemaEntry("ifcrelassociatesclassification",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  550. , SchemaEntry("ifccoolingtowertype",&STEP::ObjectHelper<IfcCoolingTowerType,1>::Construct )
  551. , SchemaEntry("ifcmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  552. , SchemaEntry("ifcgeneralmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  553. , SchemaEntry("ifcfacetedbrepwithvoids",&STEP::ObjectHelper<IfcFacetedBrepWithVoids,1>::Construct )
  554. , SchemaEntry("ifcprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  555. , SchemaEntry("ifcgeneralprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  556. , SchemaEntry("ifcstructuralprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  557. , SchemaEntry("ifcvalvetype",&STEP::ObjectHelper<IfcValveType,1>::Construct )
  558. , SchemaEntry("ifcsystemfurnitureelementtype",&STEP::ObjectHelper<IfcSystemFurnitureElementType,0>::Construct )
  559. , SchemaEntry("ifcdiscreteaccessory",&STEP::ObjectHelper<IfcDiscreteAccessory,0>::Construct )
  560. , SchemaEntry("ifcperson",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  561. , SchemaEntry("ifcbuildingelementtype",&STEP::ObjectHelper<IfcBuildingElementType,0>::Construct )
  562. , SchemaEntry("ifcrailingtype",&STEP::ObjectHelper<IfcRailingType,1>::Construct )
  563. , SchemaEntry("ifcgasterminaltype",&STEP::ObjectHelper<IfcGasTerminalType,1>::Construct )
  564. , SchemaEntry("ifctimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  565. , SchemaEntry("ifcirregulartimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  566. , SchemaEntry("ifcspaceprogram",&STEP::ObjectHelper<IfcSpaceProgram,5>::Construct )
  567. , SchemaEntry("ifccovering",&STEP::ObjectHelper<IfcCovering,1>::Construct )
  568. , SchemaEntry("ifcshapeaspect",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  569. , SchemaEntry("ifcpresentationstyle",&STEP::ObjectHelper<IfcPresentationStyle,1>::Construct )
  570. , SchemaEntry("ifcclassificationitemrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  571. , SchemaEntry("ifcelectricheatertype",&STEP::ObjectHelper<IfcElectricHeaterType,1>::Construct )
  572. , SchemaEntry("ifcbuildingstorey",&STEP::ObjectHelper<IfcBuildingStorey,1>::Construct )
  573. , SchemaEntry("ifcvertex",&STEP::ObjectHelper<IfcVertex,0>::Construct )
  574. , SchemaEntry("ifcvertexpoint",&STEP::ObjectHelper<IfcVertexPoint,1>::Construct )
  575. , SchemaEntry("ifcflowinstrumenttype",&STEP::ObjectHelper<IfcFlowInstrumentType,1>::Construct )
  576. , SchemaEntry("ifcushapeprofiledef",&STEP::ObjectHelper<IfcUShapeProfileDef,8>::Construct )
  577. , SchemaEntry("ifcramp",&STEP::ObjectHelper<IfcRamp,1>::Construct )
  578. , SchemaEntry("ifcfillareastyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  579. , SchemaEntry("ifccompositecurve",&STEP::ObjectHelper<IfcCompositeCurve,2>::Construct )
  580. , SchemaEntry("ifcrelservicesbuildings",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  581. , SchemaEntry("ifcstructuralcurvemembervarying",&STEP::ObjectHelper<IfcStructuralCurveMemberVarying,0>::Construct )
  582. , SchemaEntry("ifcrelreferencedinspatialstructure",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  583. , SchemaEntry("ifcrampflighttype",&STEP::ObjectHelper<IfcRampFlightType,1>::Construct )
  584. , SchemaEntry("ifcdraughtingcallout",&STEP::ObjectHelper<IfcDraughtingCallout,1>::Construct )
  585. , SchemaEntry("ifcdimensioncurvedirectedcallout",&STEP::ObjectHelper<IfcDimensionCurveDirectedCallout,0>::Construct )
  586. , SchemaEntry("ifcradiusdimension",&STEP::ObjectHelper<IfcRadiusDimension,0>::Construct )
  587. , SchemaEntry("ifcedgefeature",&STEP::ObjectHelper<IfcEdgeFeature,1>::Construct )
  588. , SchemaEntry("ifcsweptareasolid",&STEP::ObjectHelper<IfcSweptAreaSolid,2>::Construct )
  589. , SchemaEntry("ifcextrudedareasolid",&STEP::ObjectHelper<IfcExtrudedAreaSolid,2>::Construct )
  590. , SchemaEntry("ifcquantitycount",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  591. , SchemaEntry("ifcannotationtextoccurrence",&STEP::ObjectHelper<IfcAnnotationTextOccurrence,0>::Construct )
  592. , SchemaEntry("ifcreferencesvaluedocument",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  593. , SchemaEntry("ifcstair",&STEP::ObjectHelper<IfcStair,1>::Construct )
  594. , SchemaEntry("ifcsymbolstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  595. , SchemaEntry("ifcfillareastyletilesymbolwithstyle",&STEP::ObjectHelper<IfcFillAreaStyleTileSymbolWithStyle,1>::Construct )
  596. , SchemaEntry("ifcannotationsymboloccurrence",&STEP::ObjectHelper<IfcAnnotationSymbolOccurrence,0>::Construct )
  597. , SchemaEntry("ifcterminatorsymbol",&STEP::ObjectHelper<IfcTerminatorSymbol,1>::Construct )
  598. , SchemaEntry("ifcdimensioncurveterminator",&STEP::ObjectHelper<IfcDimensionCurveTerminator,1>::Construct )
  599. , SchemaEntry("ifcrectangleprofiledef",&STEP::ObjectHelper<IfcRectangleProfileDef,2>::Construct )
  600. , SchemaEntry("ifcrectanglehollowprofiledef",&STEP::ObjectHelper<IfcRectangleHollowProfileDef,3>::Construct )
  601. , SchemaEntry("ifcrelassociateslibrary",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  602. , SchemaEntry("ifclocalplacement",&STEP::ObjectHelper<IfcLocalPlacement,2>::Construct )
  603. , SchemaEntry("ifcopticalmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  604. , SchemaEntry("ifcservicelifefactor",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  605. , SchemaEntry("ifcrelassignstasks",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  606. , SchemaEntry("ifctask",&STEP::ObjectHelper<IfcTask,5>::Construct )
  607. , SchemaEntry("ifcannotationfillareaoccurrence",&STEP::ObjectHelper<IfcAnnotationFillAreaOccurrence,2>::Construct )
  608. , SchemaEntry("ifcface",&STEP::ObjectHelper<IfcFace,1>::Construct )
  609. , SchemaEntry("ifcflowsegmenttype",&STEP::ObjectHelper<IfcFlowSegmentType,0>::Construct )
  610. , SchemaEntry("ifcductsegmenttype",&STEP::ObjectHelper<IfcDuctSegmentType,1>::Construct )
  611. , SchemaEntry("ifcpropertyenumeration",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  612. , SchemaEntry("ifcconstructionresource",&STEP::ObjectHelper<IfcConstructionResource,4>::Construct )
  613. , SchemaEntry("ifcconstructionequipmentresource",&STEP::ObjectHelper<IfcConstructionEquipmentResource,0>::Construct )
  614. , SchemaEntry("ifcsanitaryterminaltype",&STEP::ObjectHelper<IfcSanitaryTerminalType,1>::Construct )
  615. , SchemaEntry("ifcpredefineddimensionsymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  616. , SchemaEntry("ifcorganization",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  617. , SchemaEntry("ifccircleprofiledef",&STEP::ObjectHelper<IfcCircleProfileDef,1>::Construct )
  618. , SchemaEntry("ifcstructuralreaction",&STEP::ObjectHelper<IfcStructuralReaction,0>::Construct )
  619. , SchemaEntry("ifcstructuralpointreaction",&STEP::ObjectHelper<IfcStructuralPointReaction,0>::Construct )
  620. , SchemaEntry("ifcrailing",&STEP::ObjectHelper<IfcRailing,1>::Construct )
  621. , SchemaEntry("ifctextliteral",&STEP::ObjectHelper<IfcTextLiteral,3>::Construct )
  622. , SchemaEntry("ifccartesiantransformationoperator",&STEP::ObjectHelper<IfcCartesianTransformationOperator,4>::Construct )
  623. , SchemaEntry("ifccostvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  624. , SchemaEntry("ifctextstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  625. , SchemaEntry("ifclineardimension",&STEP::ObjectHelper<IfcLinearDimension,0>::Construct )
  626. , SchemaEntry("ifcdampertype",&STEP::ObjectHelper<IfcDamperType,1>::Construct )
  627. , SchemaEntry("ifcsiunit",&STEP::ObjectHelper<IfcSIUnit,2>::Construct )
  628. , SchemaEntry("ifcsurfacestylelighting",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  629. , SchemaEntry("ifcmeasurewithunit",&STEP::ObjectHelper<IfcMeasureWithUnit,2>::Construct )
  630. , SchemaEntry("ifcmateriallayerset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  631. , SchemaEntry("ifcdistributionelement",&STEP::ObjectHelper<IfcDistributionElement,0>::Construct )
  632. , SchemaEntry("ifcdistributioncontrolelement",&STEP::ObjectHelper<IfcDistributionControlElement,1>::Construct )
  633. , SchemaEntry("ifctransformertype",&STEP::ObjectHelper<IfcTransformerType,1>::Construct )
  634. , SchemaEntry("ifclaborresource",&STEP::ObjectHelper<IfcLaborResource,1>::Construct )
  635. , SchemaEntry("ifcderivedprofiledef",&STEP::ObjectHelper<IfcDerivedProfileDef,3>::Construct )
  636. , SchemaEntry("ifcrelconnectsstructuralmember",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  637. , SchemaEntry("ifcrelconnectswitheccentricity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  638. , SchemaEntry("ifcfurniturestandard",&STEP::ObjectHelper<IfcFurnitureStandard,0>::Construct )
  639. , SchemaEntry("ifcstairflighttype",&STEP::ObjectHelper<IfcStairFlightType,1>::Construct )
  640. , SchemaEntry("ifcworkcontrol",&STEP::ObjectHelper<IfcWorkControl,10>::Construct )
  641. , SchemaEntry("ifcworkplan",&STEP::ObjectHelper<IfcWorkPlan,0>::Construct )
  642. , SchemaEntry("ifcreldefines",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  643. , SchemaEntry("ifcreldefinesbyproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  644. , SchemaEntry("ifccondition",&STEP::ObjectHelper<IfcCondition,0>::Construct )
  645. , SchemaEntry("ifcgridaxis",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  646. , SchemaEntry("ifcrelvoidselement",&STEP::ObjectHelper<IfcRelVoidsElement,2>::Construct )
  647. , SchemaEntry("ifcwindow",&STEP::ObjectHelper<IfcWindow,2>::Construct )
  648. , SchemaEntry("ifcrelflowcontrolelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  649. , SchemaEntry("ifcrelconnectsporttoelement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  650. , SchemaEntry("ifcprotectivedevicetype",&STEP::ObjectHelper<IfcProtectiveDeviceType,1>::Construct )
  651. , SchemaEntry("ifcjunctionboxtype",&STEP::ObjectHelper<IfcJunctionBoxType,1>::Construct )
  652. , SchemaEntry("ifcstructuralanalysismodel",&STEP::ObjectHelper<IfcStructuralAnalysisModel,4>::Construct )
  653. , SchemaEntry("ifcaxis2placement2d",&STEP::ObjectHelper<IfcAxis2Placement2D,1>::Construct )
  654. , SchemaEntry("ifcspacetype",&STEP::ObjectHelper<IfcSpaceType,1>::Construct )
  655. , SchemaEntry("ifcellipseprofiledef",&STEP::ObjectHelper<IfcEllipseProfileDef,2>::Construct )
  656. , SchemaEntry("ifcdistributionflowelement",&STEP::ObjectHelper<IfcDistributionFlowElement,0>::Construct )
  657. , SchemaEntry("ifcflowmovingdevice",&STEP::ObjectHelper<IfcFlowMovingDevice,0>::Construct )
  658. , SchemaEntry("ifcsurfacestylewithtextures",&STEP::ObjectHelper<IfcSurfaceStyleWithTextures,1>::Construct )
  659. , SchemaEntry("ifcgeometricset",&STEP::ObjectHelper<IfcGeometricSet,1>::Construct )
  660. , SchemaEntry("ifcmechanicalmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  661. , SchemaEntry("ifcmechanicalconcretematerialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  662. , SchemaEntry("ifcribplateprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  663. , SchemaEntry("ifcdocumentinformationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  664. , SchemaEntry("ifcprojectorder",&STEP::ObjectHelper<IfcProjectOrder,3>::Construct )
  665. , SchemaEntry("ifcbsplinecurve",&STEP::ObjectHelper<IfcBSplineCurve,5>::Construct )
  666. , SchemaEntry("ifcbeziercurve",&STEP::ObjectHelper<IfcBezierCurve,0>::Construct )
  667. , SchemaEntry("ifcstructuralpointconnection",&STEP::ObjectHelper<IfcStructuralPointConnection,0>::Construct )
  668. , SchemaEntry("ifcflowcontroller",&STEP::ObjectHelper<IfcFlowController,0>::Construct )
  669. , SchemaEntry("ifcelectricdistributionpoint",&STEP::ObjectHelper<IfcElectricDistributionPoint,2>::Construct )
  670. , SchemaEntry("ifcsite",&STEP::ObjectHelper<IfcSite,5>::Construct )
  671. , SchemaEntry("ifcoffsetcurve3d",&STEP::ObjectHelper<IfcOffsetCurve3D,4>::Construct )
  672. , SchemaEntry("ifcpropertyset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  673. , SchemaEntry("ifcconnectionsurfacegeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  674. , SchemaEntry("ifcvirtualelement",&STEP::ObjectHelper<IfcVirtualElement,0>::Construct )
  675. , SchemaEntry("ifcconstructionproductresource",&STEP::ObjectHelper<IfcConstructionProductResource,0>::Construct )
  676. , SchemaEntry("ifcwaterproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  677. , SchemaEntry("ifcsurfacecurvesweptareasolid",&STEP::ObjectHelper<IfcSurfaceCurveSweptAreaSolid,4>::Construct )
  678. , SchemaEntry("ifcpermeablecoveringproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  679. , SchemaEntry("ifccartesiantransformationoperator3d",&STEP::ObjectHelper<IfcCartesianTransformationOperator3D,1>::Construct )
  680. , SchemaEntry("ifccartesiantransformationoperator3dnonuniform",&STEP::ObjectHelper<IfcCartesianTransformationOperator3DnonUniform,2>::Construct )
  681. , SchemaEntry("ifccrewresource",&STEP::ObjectHelper<IfcCrewResource,0>::Construct )
  682. , SchemaEntry("ifcstructuralsurfacemember",&STEP::ObjectHelper<IfcStructuralSurfaceMember,2>::Construct )
  683. , SchemaEntry("ifc2dcompositecurve",&STEP::ObjectHelper<Ifc2DCompositeCurve,0>::Construct )
  684. , SchemaEntry("ifcrepresentationcontext",&STEP::ObjectHelper<IfcRepresentationContext,2>::Construct )
  685. , SchemaEntry("ifcgeometricrepresentationcontext",&STEP::ObjectHelper<IfcGeometricRepresentationContext,4>::Construct )
  686. , SchemaEntry("ifcflowtreatmentdevice",&STEP::ObjectHelper<IfcFlowTreatmentDevice,0>::Construct )
  687. , SchemaEntry("ifctextstylefordefinedfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  688. , SchemaEntry("ifcrightcircularcylinder",&STEP::ObjectHelper<IfcRightCircularCylinder,2>::Construct )
  689. , SchemaEntry("ifcwasteterminaltype",&STEP::ObjectHelper<IfcWasteTerminalType,1>::Construct )
  690. , SchemaEntry("ifcspacethermalloadproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  691. , SchemaEntry("ifcconstraintrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  692. , SchemaEntry("ifcbuildingelementcomponent",&STEP::ObjectHelper<IfcBuildingElementComponent,0>::Construct )
  693. , SchemaEntry("ifcbuildingelementpart",&STEP::ObjectHelper<IfcBuildingElementPart,0>::Construct )
  694. , SchemaEntry("ifcwall",&STEP::ObjectHelper<IfcWall,0>::Construct )
  695. , SchemaEntry("ifcwallstandardcase",&STEP::ObjectHelper<IfcWallStandardCase,0>::Construct )
  696. , SchemaEntry("ifcapprovalactorrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  697. , SchemaEntry("ifcpath",&STEP::ObjectHelper<IfcPath,1>::Construct )
  698. , SchemaEntry("ifcdefinedsymbol",&STEP::ObjectHelper<IfcDefinedSymbol,2>::Construct )
  699. , SchemaEntry("ifcstructuralsurfacemembervarying",&STEP::ObjectHelper<IfcStructuralSurfaceMemberVarying,2>::Construct )
  700. , SchemaEntry("ifcpoint",&STEP::ObjectHelper<IfcPoint,0>::Construct )
  701. , SchemaEntry("ifcsurfaceofrevolution",&STEP::ObjectHelper<IfcSurfaceOfRevolution,1>::Construct )
  702. , SchemaEntry("ifcflowterminal",&STEP::ObjectHelper<IfcFlowTerminal,0>::Construct )
  703. , SchemaEntry("ifcfurnishingelement",&STEP::ObjectHelper<IfcFurnishingElement,0>::Construct )
  704. , SchemaEntry("ifccurvestylefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  705. , SchemaEntry("ifcsurfacestyleshading",&STEP::ObjectHelper<IfcSurfaceStyleShading,1>::Construct )
  706. , SchemaEntry("ifcsurfacestylerendering",&STEP::ObjectHelper<IfcSurfaceStyleRendering,8>::Construct )
  707. , SchemaEntry("ifccoordinateduniversaltimeoffset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  708. , SchemaEntry("ifcstructuralloadsingledisplacement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  709. , SchemaEntry("ifccirclehollowprofiledef",&STEP::ObjectHelper<IfcCircleHollowProfileDef,1>::Construct )
  710. , SchemaEntry("ifcflowmovingdevicetype",&STEP::ObjectHelper<IfcFlowMovingDeviceType,0>::Construct )
  711. , SchemaEntry("ifcfantype",&STEP::ObjectHelper<IfcFanType,1>::Construct )
  712. , SchemaEntry("ifcstructuralplanaractionvarying",&STEP::ObjectHelper<IfcStructuralPlanarActionVarying,2>::Construct )
  713. , SchemaEntry("ifcproductrepresentation",&STEP::ObjectHelper<IfcProductRepresentation,3>::Construct )
  714. , SchemaEntry("ifcreldefinesbytype",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  715. , SchemaEntry("ifcpredefinedtextfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  716. , SchemaEntry("ifctextstylefontmodel",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  717. , SchemaEntry("ifcstackterminaltype",&STEP::ObjectHelper<IfcStackTerminalType,1>::Construct )
  718. , SchemaEntry("ifcapprovalpropertyrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  719. , SchemaEntry("ifcexternallydefinedsymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  720. , SchemaEntry("ifcreinforcingelement",&STEP::ObjectHelper<IfcReinforcingElement,1>::Construct )
  721. , SchemaEntry("ifcreinforcingmesh",&STEP::ObjectHelper<IfcReinforcingMesh,8>::Construct )
  722. , SchemaEntry("ifcorderaction",&STEP::ObjectHelper<IfcOrderAction,1>::Construct )
  723. , SchemaEntry("ifcrelcoversbldgelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  724. , SchemaEntry("ifclightsource",&STEP::ObjectHelper<IfcLightSource,4>::Construct )
  725. , SchemaEntry("ifclightsourcedirectional",&STEP::ObjectHelper<IfcLightSourceDirectional,1>::Construct )
  726. , SchemaEntry("ifcloop",&STEP::ObjectHelper<IfcLoop,0>::Construct )
  727. , SchemaEntry("ifcvertexloop",&STEP::ObjectHelper<IfcVertexLoop,1>::Construct )
  728. , SchemaEntry("ifcchamferedgefeature",&STEP::ObjectHelper<IfcChamferEdgeFeature,2>::Construct )
  729. , SchemaEntry("ifcwindowpanelproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  730. , SchemaEntry("ifcclassification",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  731. , SchemaEntry("ifcelementcomponenttype",&STEP::ObjectHelper<IfcElementComponentType,0>::Construct )
  732. , SchemaEntry("ifcfastenertype",&STEP::ObjectHelper<IfcFastenerType,0>::Construct )
  733. , SchemaEntry("ifcmechanicalfastenertype",&STEP::ObjectHelper<IfcMechanicalFastenerType,0>::Construct )
  734. , SchemaEntry("ifcscheduletimecontrol",&STEP::ObjectHelper<IfcScheduleTimeControl,18>::Construct )
  735. , SchemaEntry("ifcsurfacestyle",&STEP::ObjectHelper<IfcSurfaceStyle,2>::Construct )
  736. , SchemaEntry("ifcreinforcementbarproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  737. , SchemaEntry("ifcopenshell",&STEP::ObjectHelper<IfcOpenShell,0>::Construct )
  738. , SchemaEntry("ifclibraryreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  739. , SchemaEntry("ifcsubcontractresource",&STEP::ObjectHelper<IfcSubContractResource,2>::Construct )
  740. , SchemaEntry("ifctimeseriesreferencerelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  741. , SchemaEntry("ifcsweptdisksolid",&STEP::ObjectHelper<IfcSweptDiskSolid,5>::Construct )
  742. , SchemaEntry("ifccompositeprofiledef",&STEP::ObjectHelper<IfcCompositeProfileDef,2>::Construct )
  743. , SchemaEntry("ifcelectricalbaseproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  744. , SchemaEntry("ifcpredefinedpointmarkersymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  745. , SchemaEntry("ifctanktype",&STEP::ObjectHelper<IfcTankType,1>::Construct )
  746. , SchemaEntry("ifcboundarynodecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  747. , SchemaEntry("ifcboundarynodeconditionwarping",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  748. , SchemaEntry("ifcrelassignstogroup",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  749. , SchemaEntry("ifcpresentationlayerassignment",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  750. , SchemaEntry("ifcsphere",&STEP::ObjectHelper<IfcSphere,1>::Construct )
  751. , SchemaEntry("ifcpolyloop",&STEP::ObjectHelper<IfcPolyLoop,1>::Construct )
  752. , SchemaEntry("ifccablecarrierfittingtype",&STEP::ObjectHelper<IfcCableCarrierFittingType,1>::Construct )
  753. , SchemaEntry("ifchumidifiertype",&STEP::ObjectHelper<IfcHumidifierType,1>::Construct )
  754. , SchemaEntry("ifcpropertylistvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  755. , SchemaEntry("ifcpropertyconstraintrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  756. , SchemaEntry("ifcperformancehistory",&STEP::ObjectHelper<IfcPerformanceHistory,1>::Construct )
  757. , SchemaEntry("ifcshapemodel",&STEP::ObjectHelper<IfcShapeModel,0>::Construct )
  758. , SchemaEntry("ifctopologyrepresentation",&STEP::ObjectHelper<IfcTopologyRepresentation,0>::Construct )
  759. , SchemaEntry("ifcbuilding",&STEP::ObjectHelper<IfcBuilding,3>::Construct )
  760. , SchemaEntry("ifcroundedrectangleprofiledef",&STEP::ObjectHelper<IfcRoundedRectangleProfileDef,1>::Construct )
  761. , SchemaEntry("ifcstairflight",&STEP::ObjectHelper<IfcStairFlight,4>::Construct )
  762. , SchemaEntry("ifcsurfacestylerefraction",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  763. , SchemaEntry("ifcrelinteractionrequirements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  764. , SchemaEntry("ifcconstraint",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  765. , SchemaEntry("ifcobjective",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  766. , SchemaEntry("ifcconnectionportgeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  767. , SchemaEntry("ifcdistributionchamberelement",&STEP::ObjectHelper<IfcDistributionChamberElement,0>::Construct )
  768. , SchemaEntry("ifcpersonandorganization",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  769. , SchemaEntry("ifcshaperepresentation",&STEP::ObjectHelper<IfcShapeRepresentation,0>::Construct )
  770. , SchemaEntry("ifcrampflight",&STEP::ObjectHelper<IfcRampFlight,0>::Construct )
  771. , SchemaEntry("ifcbeamtype",&STEP::ObjectHelper<IfcBeamType,1>::Construct )
  772. , SchemaEntry("ifcreldecomposes",&STEP::ObjectHelper<IfcRelDecomposes,2>::Construct )
  773. , SchemaEntry("ifcroof",&STEP::ObjectHelper<IfcRoof,1>::Construct )
  774. , SchemaEntry("ifcfooting",&STEP::ObjectHelper<IfcFooting,1>::Construct )
  775. , SchemaEntry("ifcrelcoversspaces",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  776. , SchemaEntry("ifclightsourceambient",&STEP::ObjectHelper<IfcLightSourceAmbient,0>::Construct )
  777. , SchemaEntry("ifctimeseriesvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  778. , SchemaEntry("ifcwindowstyle",&STEP::ObjectHelper<IfcWindowStyle,4>::Construct )
  779. , SchemaEntry("ifcpropertyreferencevalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  780. , SchemaEntry("ifcapproval",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  781. , SchemaEntry("ifcrelconnectsstructuralelement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  782. , SchemaEntry("ifcbuildingelementproxytype",&STEP::ObjectHelper<IfcBuildingElementProxyType,1>::Construct )
  783. , SchemaEntry("ifcrelassociatesprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  784. , SchemaEntry("ifcaxis2placement3d",&STEP::ObjectHelper<IfcAxis2Placement3D,2>::Construct )
  785. , SchemaEntry("ifcrelconnectsports",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  786. , SchemaEntry("ifcedgecurve",&STEP::ObjectHelper<IfcEdgeCurve,2>::Construct )
  787. , SchemaEntry("ifcclosedshell",&STEP::ObjectHelper<IfcClosedShell,0>::Construct )
  788. , SchemaEntry("ifctendonanchor",&STEP::ObjectHelper<IfcTendonAnchor,0>::Construct )
  789. , SchemaEntry("ifccondensertype",&STEP::ObjectHelper<IfcCondenserType,1>::Construct )
  790. , SchemaEntry("ifcquantitytime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  791. , SchemaEntry("ifcsurfacetexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  792. , SchemaEntry("ifcpixeltexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  793. , SchemaEntry("ifcstructuralconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  794. , SchemaEntry("ifcfailureconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  795. , SchemaEntry("ifcdocumentreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  796. , SchemaEntry("ifcmechanicalsteelmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  797. , SchemaEntry("ifcpipesegmenttype",&STEP::ObjectHelper<IfcPipeSegmentType,1>::Construct )
  798. , SchemaEntry("ifcpointonsurface",&STEP::ObjectHelper<IfcPointOnSurface,3>::Construct )
  799. , SchemaEntry("ifctable",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  800. , SchemaEntry("ifclightdistributiondata",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  801. , SchemaEntry("ifcpropertytablevalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  802. , SchemaEntry("ifcpresentationlayerwithstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  803. , SchemaEntry("ifcasset",&STEP::ObjectHelper<IfcAsset,9>::Construct )
  804. , SchemaEntry("ifclightsourcepositional",&STEP::ObjectHelper<IfcLightSourcePositional,5>::Construct )
  805. , SchemaEntry("ifclibraryinformation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  806. , SchemaEntry("ifctextstyletextmodel",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  807. , SchemaEntry("ifcprojectioncurve",&STEP::ObjectHelper<IfcProjectionCurve,0>::Construct )
  808. , SchemaEntry("ifcfillareastyletiles",&STEP::ObjectHelper<IfcFillAreaStyleTiles,3>::Construct )
  809. , SchemaEntry("ifcrelfillselement",&STEP::ObjectHelper<IfcRelFillsElement,2>::Construct )
  810. , SchemaEntry("ifcelectricmotortype",&STEP::ObjectHelper<IfcElectricMotorType,1>::Construct )
  811. , SchemaEntry("ifctendon",&STEP::ObjectHelper<IfcTendon,8>::Construct )
  812. , SchemaEntry("ifcdistributionchamberelementtype",&STEP::ObjectHelper<IfcDistributionChamberElementType,1>::Construct )
  813. , SchemaEntry("ifcmembertype",&STEP::ObjectHelper<IfcMemberType,1>::Construct )
  814. , SchemaEntry("ifcstructurallinearaction",&STEP::ObjectHelper<IfcStructuralLinearAction,1>::Construct )
  815. , SchemaEntry("ifcstructurallinearactionvarying",&STEP::ObjectHelper<IfcStructuralLinearActionVarying,2>::Construct )
  816. , SchemaEntry("ifcproductdefinitionshape",&STEP::ObjectHelper<IfcProductDefinitionShape,0>::Construct )
  817. , SchemaEntry("ifcfastener",&STEP::ObjectHelper<IfcFastener,0>::Construct )
  818. , SchemaEntry("ifcmechanicalfastener",&STEP::ObjectHelper<IfcMechanicalFastener,2>::Construct )
  819. , SchemaEntry("ifcfuelproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  820. , SchemaEntry("ifcevaporatortype",&STEP::ObjectHelper<IfcEvaporatorType,1>::Construct )
  821. , SchemaEntry("ifcmateriallayersetusage",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  822. , SchemaEntry("ifcdiscreteaccessorytype",&STEP::ObjectHelper<IfcDiscreteAccessoryType,0>::Construct )
  823. , SchemaEntry("ifcstructuralcurveconnection",&STEP::ObjectHelper<IfcStructuralCurveConnection,0>::Construct )
  824. , SchemaEntry("ifcprojectionelement",&STEP::ObjectHelper<IfcProjectionElement,0>::Construct )
  825. , SchemaEntry("ifcimagetexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  826. , SchemaEntry("ifccoveringtype",&STEP::ObjectHelper<IfcCoveringType,1>::Construct )
  827. , SchemaEntry("ifcrelassociatesappliedvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  828. , SchemaEntry("ifcpumptype",&STEP::ObjectHelper<IfcPumpType,1>::Construct )
  829. , SchemaEntry("ifcpile",&STEP::ObjectHelper<IfcPile,2>::Construct )
  830. , SchemaEntry("ifcunitassignment",&STEP::ObjectHelper<IfcUnitAssignment,1>::Construct )
  831. , SchemaEntry("ifcboundingbox",&STEP::ObjectHelper<IfcBoundingBox,4>::Construct )
  832. , SchemaEntry("ifcshellbasedsurfacemodel",&STEP::ObjectHelper<IfcShellBasedSurfaceModel,1>::Construct )
  833. , SchemaEntry("ifcfacetedbrep",&STEP::ObjectHelper<IfcFacetedBrep,0>::Construct )
  834. , SchemaEntry("ifctextliteralwithextent",&STEP::ObjectHelper<IfcTextLiteralWithExtent,2>::Construct )
  835. , SchemaEntry("ifcapplication",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  836. , SchemaEntry("ifcextendedmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  837. , SchemaEntry("ifcelectricappliancetype",&STEP::ObjectHelper<IfcElectricApplianceType,1>::Construct )
  838. , SchemaEntry("ifcreloccupiesspaces",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  839. , SchemaEntry("ifctrapeziumprofiledef",&STEP::ObjectHelper<IfcTrapeziumProfileDef,4>::Construct )
  840. , SchemaEntry("ifcquantityweight",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  841. , SchemaEntry("ifcrelcontainedinspatialstructure",&STEP::ObjectHelper<IfcRelContainedInSpatialStructure,2>::Construct )
  842. , SchemaEntry("ifcedgeloop",&STEP::ObjectHelper<IfcEdgeLoop,1>::Construct )
  843. , SchemaEntry("ifcproject",&STEP::ObjectHelper<IfcProject,4>::Construct )
  844. , SchemaEntry("ifccartesianpoint",&STEP::ObjectHelper<IfcCartesianPoint,1>::Construct )
  845. , SchemaEntry("ifcmaterial",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  846. , SchemaEntry("ifccurveboundedplane",&STEP::ObjectHelper<IfcCurveBoundedPlane,3>::Construct )
  847. , SchemaEntry("ifcwalltype",&STEP::ObjectHelper<IfcWallType,1>::Construct )
  848. , SchemaEntry("ifcfillareastylehatching",&STEP::ObjectHelper<IfcFillAreaStyleHatching,5>::Construct )
  849. , SchemaEntry("ifcequipmentstandard",&STEP::ObjectHelper<IfcEquipmentStandard,0>::Construct )
  850. , SchemaEntry("ifchygroscopicmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  851. , SchemaEntry("ifcdoorpanelproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  852. , SchemaEntry("ifcdiameterdimension",&STEP::ObjectHelper<IfcDiameterDimension,0>::Construct )
  853. , SchemaEntry("ifcstructuralloadgroup",&STEP::ObjectHelper<IfcStructuralLoadGroup,5>::Construct )
  854. , SchemaEntry("ifctelecomaddress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  855. , SchemaEntry("ifcconstructionmaterialresource",&STEP::ObjectHelper<IfcConstructionMaterialResource,2>::Construct )
  856. , SchemaEntry("ifcblobtexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  857. , SchemaEntry("ifcirregulartimeseriesvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  858. , SchemaEntry("ifcrelaggregates",&STEP::ObjectHelper<IfcRelAggregates,0>::Construct )
  859. , SchemaEntry("ifcboilertype",&STEP::ObjectHelper<IfcBoilerType,1>::Construct )
  860. , SchemaEntry("ifcrelprojectselement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  861. , SchemaEntry("ifccolourrgb",&STEP::ObjectHelper<IfcColourRgb,3>::Construct )
  862. , SchemaEntry("ifcrelconnectsstructuralactivity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  863. , SchemaEntry("ifcdoorstyle",&STEP::ObjectHelper<IfcDoorStyle,4>::Construct )
  864. , SchemaEntry("ifcstructuralloadsingledisplacementdistortion",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  865. , SchemaEntry("ifcrelassignstoprocess",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  866. , SchemaEntry("ifcductsilencertype",&STEP::ObjectHelper<IfcDuctSilencerType,1>::Construct )
  867. , SchemaEntry("ifclightsourcegoniometric",&STEP::ObjectHelper<IfcLightSourceGoniometric,6>::Construct )
  868. , SchemaEntry("ifcactuatortype",&STEP::ObjectHelper<IfcActuatorType,1>::Construct )
  869. , SchemaEntry("ifcsensortype",&STEP::ObjectHelper<IfcSensorType,1>::Construct )
  870. , SchemaEntry("ifcairterminalboxtype",&STEP::ObjectHelper<IfcAirTerminalBoxType,1>::Construct )
  871. , SchemaEntry("ifcannotationsurfaceoccurrence",&STEP::ObjectHelper<IfcAnnotationSurfaceOccurrence,0>::Construct )
  872. , SchemaEntry("ifcclassificationnotation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  873. , SchemaEntry("ifcrationalbeziercurve",&STEP::ObjectHelper<IfcRationalBezierCurve,1>::Construct )
  874. , SchemaEntry("ifccartesiantransformationoperator2d",&STEP::ObjectHelper<IfcCartesianTransformationOperator2D,0>::Construct )
  875. , SchemaEntry("ifccartesiantransformationoperator2dnonuniform",&STEP::ObjectHelper<IfcCartesianTransformationOperator2DnonUniform,1>::Construct )
  876. , SchemaEntry("ifcmove",&STEP::ObjectHelper<IfcMove,3>::Construct )
  877. , SchemaEntry("ifcboundaryedgecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  878. , SchemaEntry("ifcdoorliningproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  879. , SchemaEntry("ifccablecarriersegmenttype",&STEP::ObjectHelper<IfcCableCarrierSegmentType,1>::Construct )
  880. , SchemaEntry("ifcpostaladdress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  881. , SchemaEntry("ifcrelconnectspathelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  882. , SchemaEntry("ifcelectricalelement",&STEP::ObjectHelper<IfcElectricalElement,0>::Construct )
  883. , SchemaEntry("ifcownerhistory",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  884. , SchemaEntry("ifcstructuralloadtemperature",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  885. , SchemaEntry("ifctextstylewithboxcharacteristics",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  886. , SchemaEntry("ifcchillertype",&STEP::ObjectHelper<IfcChillerType,1>::Construct )
  887. , SchemaEntry("ifcrelschedulescostitems",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  888. , SchemaEntry("ifcreinforcingbar",&STEP::ObjectHelper<IfcReinforcingBar,5>::Construct )
  889. , SchemaEntry("ifccurrencyrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  890. , SchemaEntry("ifcsoundvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  891. , SchemaEntry("ifccshapeprofiledef",&STEP::ObjectHelper<IfcCShapeProfileDef,6>::Construct )
  892. , SchemaEntry("ifcpermit",&STEP::ObjectHelper<IfcPermit,1>::Construct )
  893. , SchemaEntry("ifcslabtype",&STEP::ObjectHelper<IfcSlabType,1>::Construct )
  894. , SchemaEntry("ifcslippageconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  895. , SchemaEntry("ifclamptype",&STEP::ObjectHelper<IfcLampType,1>::Construct )
  896. , SchemaEntry("ifcplanarextent",&STEP::ObjectHelper<IfcPlanarExtent,2>::Construct )
  897. , SchemaEntry("ifcalarmtype",&STEP::ObjectHelper<IfcAlarmType,1>::Construct )
  898. , SchemaEntry("ifcdocumentelectronicformat",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  899. , SchemaEntry("ifcelectricflowstoragedevicetype",&STEP::ObjectHelper<IfcElectricFlowStorageDeviceType,1>::Construct )
  900. , SchemaEntry("ifcequipmentelement",&STEP::ObjectHelper<IfcEquipmentElement,0>::Construct )
  901. , SchemaEntry("ifclightfixturetype",&STEP::ObjectHelper<IfcLightFixtureType,1>::Construct )
  902. , SchemaEntry("ifcmetric",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  903. , SchemaEntry("ifcrelnests",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  904. , SchemaEntry("ifccurtainwall",&STEP::ObjectHelper<IfcCurtainWall,0>::Construct )
  905. , SchemaEntry("ifcrelassociatesdocument",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  906. , SchemaEntry("ifccomplexproperty",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  907. , SchemaEntry("ifcvertexbasedtexturemap",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  908. , SchemaEntry("ifcslab",&STEP::ObjectHelper<IfcSlab,1>::Construct )
  909. , SchemaEntry("ifccurtainwalltype",&STEP::ObjectHelper<IfcCurtainWallType,1>::Construct )
  910. , SchemaEntry("ifcoutlettype",&STEP::ObjectHelper<IfcOutletType,1>::Construct )
  911. , SchemaEntry("ifccompressortype",&STEP::ObjectHelper<IfcCompressorType,1>::Construct )
  912. , SchemaEntry("ifccranerailashapeprofiledef",&STEP::ObjectHelper<IfcCraneRailAShapeProfileDef,12>::Construct )
  913. , SchemaEntry("ifcflowsegment",&STEP::ObjectHelper<IfcFlowSegment,0>::Construct )
  914. , SchemaEntry("ifcsectionedspine",&STEP::ObjectHelper<IfcSectionedSpine,3>::Construct )
  915. , SchemaEntry("ifctablerow",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  916. , SchemaEntry("ifcdraughtingpredefinedtextfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  917. , SchemaEntry("ifcelectrictimecontroltype",&STEP::ObjectHelper<IfcElectricTimeControlType,1>::Construct )
  918. , SchemaEntry("ifcfacesurface",&STEP::ObjectHelper<IfcFaceSurface,2>::Construct )
  919. , SchemaEntry("ifcmateriallist",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  920. , SchemaEntry("ifcmotorconnectiontype",&STEP::ObjectHelper<IfcMotorConnectionType,1>::Construct )
  921. , SchemaEntry("ifcflowfitting",&STEP::ObjectHelper<IfcFlowFitting,0>::Construct )
  922. , SchemaEntry("ifcpointoncurve",&STEP::ObjectHelper<IfcPointOnCurve,2>::Construct )
  923. , SchemaEntry("ifctransportelementtype",&STEP::ObjectHelper<IfcTransportElementType,1>::Construct )
  924. , SchemaEntry("ifcregulartimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  925. , SchemaEntry("ifcrelassociatesconstraint",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  926. , SchemaEntry("ifcpropertyenumeratedvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  927. , SchemaEntry("ifcstructuralsteelprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  928. , SchemaEntry("ifccablesegmenttype",&STEP::ObjectHelper<IfcCableSegmentType,1>::Construct )
  929. , SchemaEntry("ifcexternallydefinedhatchstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  930. , SchemaEntry("ifcannotationsurface",&STEP::ObjectHelper<IfcAnnotationSurface,2>::Construct )
  931. , SchemaEntry("ifccompositecurvesegment",&STEP::ObjectHelper<IfcCompositeCurveSegment,3>::Construct )
  932. , SchemaEntry("ifcservicelife",&STEP::ObjectHelper<IfcServiceLife,2>::Construct )
  933. , SchemaEntry("ifcplatetype",&STEP::ObjectHelper<IfcPlateType,1>::Construct )
  934. , SchemaEntry("ifccurvestyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  935. , SchemaEntry("ifcsectionproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  936. , SchemaEntry("ifcvibrationisolatortype",&STEP::ObjectHelper<IfcVibrationIsolatorType,1>::Construct )
  937. , SchemaEntry("ifctexturemap",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  938. , SchemaEntry("ifctrimmedcurve",&STEP::ObjectHelper<IfcTrimmedCurve,5>::Construct )
  939. , SchemaEntry("ifcmappeditem",&STEP::ObjectHelper<IfcMappedItem,2>::Construct )
  940. , SchemaEntry("ifcmateriallayer",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  941. , SchemaEntry("ifcdirection",&STEP::ObjectHelper<IfcDirection,1>::Construct )
  942. , SchemaEntry("ifcblock",&STEP::ObjectHelper<IfcBlock,3>::Construct )
  943. , SchemaEntry("ifcprojectorderrecord",&STEP::ObjectHelper<IfcProjectOrderRecord,2>::Construct )
  944. , SchemaEntry("ifcflowmetertype",&STEP::ObjectHelper<IfcFlowMeterType,1>::Construct )
  945. , SchemaEntry("ifccontrollertype",&STEP::ObjectHelper<IfcControllerType,1>::Construct )
  946. , SchemaEntry("ifcbeam",&STEP::ObjectHelper<IfcBeam,0>::Construct )
  947. , SchemaEntry("ifcarbitraryopenprofiledef",&STEP::ObjectHelper<IfcArbitraryOpenProfileDef,1>::Construct )
  948. , SchemaEntry("ifccenterlineprofiledef",&STEP::ObjectHelper<IfcCenterLineProfileDef,1>::Construct )
  949. , SchemaEntry("ifcstructuralloadplanarforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  950. , SchemaEntry("ifctimeseriesschedule",&STEP::ObjectHelper<IfcTimeSeriesSchedule,3>::Construct )
  951. , SchemaEntry("ifcroundededgefeature",&STEP::ObjectHelper<IfcRoundedEdgeFeature,1>::Construct )
  952. , SchemaEntry("ifcwindowliningproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  953. , SchemaEntry("ifcreloverridesproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  954. , SchemaEntry("ifcapprovalrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  955. , SchemaEntry("ifcishapeprofiledef",&STEP::ObjectHelper<IfcIShapeProfileDef,5>::Construct )
  956. , SchemaEntry("ifcspaceheatertype",&STEP::ObjectHelper<IfcSpaceHeaterType,1>::Construct )
  957. , SchemaEntry("ifcexternallydefinedsurfacestyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  958. , SchemaEntry("ifcderivedunit",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  959. , SchemaEntry("ifcflowstoragedevice",&STEP::ObjectHelper<IfcFlowStorageDevice,0>::Construct )
  960. , SchemaEntry("ifcmaterialclassificationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  961. , SchemaEntry("ifcclassificationitem",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  962. , SchemaEntry("ifcrevolvedareasolid",&STEP::ObjectHelper<IfcRevolvedAreaSolid,2>::Construct )
  963. , SchemaEntry("ifcconnectionpointgeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  964. , SchemaEntry("ifcdoor",&STEP::ObjectHelper<IfcDoor,2>::Construct )
  965. , SchemaEntry("ifcellipse",&STEP::ObjectHelper<IfcEllipse,2>::Construct )
  966. , SchemaEntry("ifctubebundletype",&STEP::ObjectHelper<IfcTubeBundleType,1>::Construct )
  967. , SchemaEntry("ifcangulardimension",&STEP::ObjectHelper<IfcAngularDimension,0>::Construct )
  968. , SchemaEntry("ifcthermalmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  969. , SchemaEntry("ifcfacebasedsurfacemodel",&STEP::ObjectHelper<IfcFaceBasedSurfaceModel,1>::Construct )
  970. , SchemaEntry("ifccranerailfshapeprofiledef",&STEP::ObjectHelper<IfcCraneRailFShapeProfileDef,9>::Construct )
  971. , SchemaEntry("ifccolumntype",&STEP::ObjectHelper<IfcColumnType,1>::Construct )
  972. , SchemaEntry("ifctshapeprofiledef",&STEP::ObjectHelper<IfcTShapeProfileDef,10>::Construct )
  973. , SchemaEntry("ifcenergyconversiondevice",&STEP::ObjectHelper<IfcEnergyConversionDevice,0>::Construct )
  974. , SchemaEntry("ifcconnectionpointeccentricity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  975. , SchemaEntry("ifcreinforcementdefinitionproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  976. , SchemaEntry("ifccurvestylefontandscaling",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  977. , SchemaEntry("ifcworkschedule",&STEP::ObjectHelper<IfcWorkSchedule,0>::Construct )
  978. , SchemaEntry("ifcorganizationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  979. , SchemaEntry("ifczone",&STEP::ObjectHelper<IfcZone,0>::Construct )
  980. , SchemaEntry("ifctransportelement",&STEP::ObjectHelper<IfcTransportElement,3>::Construct )
  981. , SchemaEntry("ifcdraughtingpredefinedcurvefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  982. , SchemaEntry("ifcgeometricrepresentationsubcontext",&STEP::ObjectHelper<IfcGeometricRepresentationSubContext,4>::Construct )
  983. , SchemaEntry("ifclshapeprofiledef",&STEP::ObjectHelper<IfcLShapeProfileDef,8>::Construct )
  984. , SchemaEntry("ifcgeometriccurveset",&STEP::ObjectHelper<IfcGeometricCurveSet,0>::Construct )
  985. , SchemaEntry("ifcactor",&STEP::ObjectHelper<IfcActor,1>::Construct )
  986. , SchemaEntry("ifcoccupant",&STEP::ObjectHelper<IfcOccupant,1>::Construct )
  987. , SchemaEntry("ifcphysicalcomplexquantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  988. , SchemaEntry("ifcbooleanclippingresult",&STEP::ObjectHelper<IfcBooleanClippingResult,0>::Construct )
  989. , SchemaEntry("ifcpredefinedterminatorsymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  990. , SchemaEntry("ifcannotationfillarea",&STEP::ObjectHelper<IfcAnnotationFillArea,2>::Construct )
  991. , SchemaEntry("ifcconstraintaggregationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  992. , SchemaEntry("ifcrelassociatesapproval",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  993. , SchemaEntry("ifcrelassociatesmaterial",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  994. , SchemaEntry("ifcrelassignstoproduct",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  995. , SchemaEntry("ifcappliedvaluerelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  996. , SchemaEntry("ifclightsourcespot",&STEP::ObjectHelper<IfcLightSourceSpot,4>::Construct )
  997. , SchemaEntry("ifcfiresuppressionterminaltype",&STEP::ObjectHelper<IfcFireSuppressionTerminalType,1>::Construct )
  998. , SchemaEntry("ifcelementquantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  999. , SchemaEntry("ifcdimensionpair",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1000. , SchemaEntry("ifcelectricgeneratortype",&STEP::ObjectHelper<IfcElectricGeneratorType,1>::Construct )
  1001. , SchemaEntry("ifcrelsequence",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1002. , SchemaEntry("ifcinventory",&STEP::ObjectHelper<IfcInventory,6>::Construct )
  1003. , SchemaEntry("ifcpolyline",&STEP::ObjectHelper<IfcPolyline,1>::Construct )
  1004. , SchemaEntry("ifcboxedhalfspace",&STEP::ObjectHelper<IfcBoxedHalfSpace,1>::Construct )
  1005. , SchemaEntry("ifcairterminaltype",&STEP::ObjectHelper<IfcAirTerminalType,1>::Construct )
  1006. , SchemaEntry("ifcsectionreinforcementproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1007. , SchemaEntry("ifcdistributionport",&STEP::ObjectHelper<IfcDistributionPort,1>::Construct )
  1008. , SchemaEntry("ifccostitem",&STEP::ObjectHelper<IfcCostItem,0>::Construct )
  1009. , SchemaEntry("ifcstructureddimensioncallout",&STEP::ObjectHelper<IfcStructuredDimensionCallout,0>::Construct )
  1010. , SchemaEntry("ifcstructuralresultgroup",&STEP::ObjectHelper<IfcStructuralResultGroup,3>::Construct )
  1011. , SchemaEntry("ifcrelspaceboundary",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1012. , SchemaEntry("ifcorientededge",&STEP::ObjectHelper<IfcOrientedEdge,2>::Construct )
  1013. , SchemaEntry("ifcrelassignstoresource",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1014. , SchemaEntry("ifccsgsolid",&STEP::ObjectHelper<IfcCsgSolid,1>::Construct )
  1015. , SchemaEntry("ifcproductsofcombustionproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1016. , SchemaEntry("ifcrelaxation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1017. , SchemaEntry("ifcplanarbox",&STEP::ObjectHelper<IfcPlanarBox,1>::Construct )
  1018. , SchemaEntry("ifcquantitylength",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1019. , SchemaEntry("ifcmaterialdefinitionrepresentation",&STEP::ObjectHelper<IfcMaterialDefinitionRepresentation,1>::Construct )
  1020. , SchemaEntry("ifcasymmetricishapeprofiledef",&STEP::ObjectHelper<IfcAsymmetricIShapeProfileDef,4>::Construct )
  1021. , SchemaEntry("ifcrepresentationmap",&STEP::ObjectHelper<IfcRepresentationMap,2>::Construct )
  1022. };
  1023. }
  1024. // -----------------------------------------------------------------------------------------------------------
  1025. void IFC::GetSchema(EXPRESS::ConversionSchema& out)
  1026. {
  1027. out = EXPRESS::ConversionSchema(schema_raw);
  1028. }
  1029. namespace STEP {
  1030. // -----------------------------------------------------------------------------------------------------------
  1031. template <> size_t GenericFill<NotImplemented>(const STEP::DB& db, const LIST& params, NotImplemented* in)
  1032. {
  1033. return 0;
  1034. }
  1035. // -----------------------------------------------------------------------------------------------------------
  1036. template <> size_t GenericFill<IfcProfileDef>(const DB& db, const LIST& params, IfcProfileDef* in)
  1037. {
  1038. size_t base = 0;
  1039. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcProfileDef"); } do { // convert the 'ProfileType' argument
  1040. boost::shared_ptr<const DataType> arg = params[base++];
  1041. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProfileDef,2>::aux_is_derived[0]=true; break; }
  1042. try { GenericConvert( in->ProfileType, arg, db ); break; }
  1043. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcProfileDef to be a `IfcProfileTypeEnum`")); }
  1044. } while(0);
  1045. do { // convert the 'ProfileName' argument
  1046. boost::shared_ptr<const DataType> arg = params[base++];
  1047. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProfileDef,2>::aux_is_derived[1]=true; break; }
  1048. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1049. try { GenericConvert( in->ProfileName, arg, db ); break; }
  1050. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcProfileDef to be a `IfcLabel`")); }
  1051. } while(0);
  1052. return base;
  1053. }
  1054. // -----------------------------------------------------------------------------------------------------------
  1055. template <> size_t GenericFill<IfcParameterizedProfileDef>(const DB& db, const LIST& params, IfcParameterizedProfileDef* in)
  1056. {
  1057. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  1058. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcParameterizedProfileDef"); } do { // convert the 'Position' argument
  1059. boost::shared_ptr<const DataType> arg = params[base++];
  1060. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcParameterizedProfileDef,1>::aux_is_derived[0]=true; break; }
  1061. try { GenericConvert( in->Position, arg, db ); break; }
  1062. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcParameterizedProfileDef to be a `IfcAxis2Placement2D`")); }
  1063. } while(0);
  1064. return base;
  1065. }
  1066. // -----------------------------------------------------------------------------------------------------------
  1067. template <> size_t GenericFill<IfcZShapeProfileDef>(const DB& db, const LIST& params, IfcZShapeProfileDef* in)
  1068. {
  1069. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  1070. // this data structure is not used yet, so there is no code generated to fill its members
  1071. return base;
  1072. }
  1073. // -----------------------------------------------------------------------------------------------------------
  1074. template <> size_t GenericFill<IfcRoot>(const DB& db, const LIST& params, IfcRoot* in)
  1075. {
  1076. size_t base = 0;
  1077. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRoot"); } do { // convert the 'GlobalId' argument
  1078. boost::shared_ptr<const DataType> arg = params[base++];
  1079. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[0]=true; break; }
  1080. try { GenericConvert( in->GlobalId, arg, db ); break; }
  1081. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRoot to be a `IfcGloballyUniqueId`")); }
  1082. } while(0);
  1083. do { // convert the 'OwnerHistory' argument
  1084. boost::shared_ptr<const DataType> arg = params[base++];
  1085. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[1]=true; break; }
  1086. try { GenericConvert( in->OwnerHistory, arg, db ); break; }
  1087. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRoot to be a `IfcOwnerHistory`")); }
  1088. } while(0);
  1089. do { // convert the 'Name' argument
  1090. boost::shared_ptr<const DataType> arg = params[base++];
  1091. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[2]=true; break; }
  1092. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1093. try { GenericConvert( in->Name, arg, db ); break; }
  1094. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRoot to be a `IfcLabel`")); }
  1095. } while(0);
  1096. do { // convert the 'Description' argument
  1097. boost::shared_ptr<const DataType> arg = params[base++];
  1098. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[3]=true; break; }
  1099. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1100. try { GenericConvert( in->Description, arg, db ); break; }
  1101. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRoot to be a `IfcText`")); }
  1102. } while(0);
  1103. return base;
  1104. }
  1105. // -----------------------------------------------------------------------------------------------------------
  1106. template <> size_t GenericFill<IfcObjectDefinition>(const DB& db, const LIST& params, IfcObjectDefinition* in)
  1107. {
  1108. size_t base = GenericFill(db,params,static_cast<IfcRoot*>(in));
  1109. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcObjectDefinition"); } return base;
  1110. }
  1111. // -----------------------------------------------------------------------------------------------------------
  1112. template <> size_t GenericFill<IfcTypeObject>(const DB& db, const LIST& params, IfcTypeObject* in)
  1113. {
  1114. size_t base = GenericFill(db,params,static_cast<IfcObjectDefinition*>(in));
  1115. // this data structure is not used yet, so there is no code generated to fill its members
  1116. return base;
  1117. }
  1118. // -----------------------------------------------------------------------------------------------------------
  1119. template <> size_t GenericFill<IfcTypeProduct>(const DB& db, const LIST& params, IfcTypeProduct* in)
  1120. {
  1121. size_t base = GenericFill(db,params,static_cast<IfcTypeObject*>(in));
  1122. // this data structure is not used yet, so there is no code generated to fill its members
  1123. return base;
  1124. }
  1125. // -----------------------------------------------------------------------------------------------------------
  1126. template <> size_t GenericFill<IfcElementType>(const DB& db, const LIST& params, IfcElementType* in)
  1127. {
  1128. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  1129. // this data structure is not used yet, so there is no code generated to fill its members
  1130. return base;
  1131. }
  1132. // -----------------------------------------------------------------------------------------------------------
  1133. template <> size_t GenericFill<IfcFurnishingElementType>(const DB& db, const LIST& params, IfcFurnishingElementType* in)
  1134. {
  1135. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  1136. // this data structure is not used yet, so there is no code generated to fill its members
  1137. return base;
  1138. }
  1139. // -----------------------------------------------------------------------------------------------------------
  1140. template <> size_t GenericFill<IfcFurnitureType>(const DB& db, const LIST& params, IfcFurnitureType* in)
  1141. {
  1142. size_t base = GenericFill(db,params,static_cast<IfcFurnishingElementType*>(in));
  1143. // this data structure is not used yet, so there is no code generated to fill its members
  1144. return base;
  1145. }
  1146. // -----------------------------------------------------------------------------------------------------------
  1147. template <> size_t GenericFill<IfcObject>(const DB& db, const LIST& params, IfcObject* in)
  1148. {
  1149. size_t base = GenericFill(db,params,static_cast<IfcObjectDefinition*>(in));
  1150. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcObject"); } do { // convert the 'ObjectType' argument
  1151. boost::shared_ptr<const DataType> arg = params[base++];
  1152. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcObject,1>::aux_is_derived[0]=true; break; }
  1153. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1154. try { GenericConvert( in->ObjectType, arg, db ); break; }
  1155. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcObject to be a `IfcLabel`")); }
  1156. } while(0);
  1157. return base;
  1158. }
  1159. // -----------------------------------------------------------------------------------------------------------
  1160. template <> size_t GenericFill<IfcProduct>(const DB& db, const LIST& params, IfcProduct* in)
  1161. {
  1162. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1163. if (params.GetSize() < 7) { throw STEP::TypeError("expected 7 arguments to IfcProduct"); } do { // convert the 'ObjectPlacement' argument
  1164. boost::shared_ptr<const DataType> arg = params[base++];
  1165. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProduct,2>::aux_is_derived[0]=true; break; }
  1166. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1167. try { GenericConvert( in->ObjectPlacement, arg, db ); break; }
  1168. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcProduct to be a `IfcObjectPlacement`")); }
  1169. } while(0);
  1170. do { // convert the 'Representation' argument
  1171. boost::shared_ptr<const DataType> arg = params[base++];
  1172. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProduct,2>::aux_is_derived[1]=true; break; }
  1173. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1174. try { GenericConvert( in->Representation, arg, db ); break; }
  1175. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcProduct to be a `IfcProductRepresentation`")); }
  1176. } while(0);
  1177. return base;
  1178. }
  1179. // -----------------------------------------------------------------------------------------------------------
  1180. template <> size_t GenericFill<IfcGrid>(const DB& db, const LIST& params, IfcGrid* in)
  1181. {
  1182. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1183. // this data structure is not used yet, so there is no code generated to fill its members
  1184. return base;
  1185. }
  1186. // -----------------------------------------------------------------------------------------------------------
  1187. template <> size_t GenericFill<IfcRepresentationItem>(const DB& db, const LIST& params, IfcRepresentationItem* in)
  1188. {
  1189. size_t base = 0;
  1190. return base;
  1191. }
  1192. // -----------------------------------------------------------------------------------------------------------
  1193. template <> size_t GenericFill<IfcGeometricRepresentationItem>(const DB& db, const LIST& params, IfcGeometricRepresentationItem* in)
  1194. {
  1195. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  1196. return base;
  1197. }
  1198. // -----------------------------------------------------------------------------------------------------------
  1199. template <> size_t GenericFill<IfcOneDirectionRepeatFactor>(const DB& db, const LIST& params, IfcOneDirectionRepeatFactor* in)
  1200. {
  1201. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1202. // this data structure is not used yet, so there is no code generated to fill its members
  1203. return base;
  1204. }
  1205. // -----------------------------------------------------------------------------------------------------------
  1206. template <> size_t GenericFill<IfcTwoDirectionRepeatFactor>(const DB& db, const LIST& params, IfcTwoDirectionRepeatFactor* in)
  1207. {
  1208. size_t base = GenericFill(db,params,static_cast<IfcOneDirectionRepeatFactor*>(in));
  1209. // this data structure is not used yet, so there is no code generated to fill its members
  1210. return base;
  1211. }
  1212. // -----------------------------------------------------------------------------------------------------------
  1213. template <> size_t GenericFill<IfcElement>(const DB& db, const LIST& params, IfcElement* in)
  1214. {
  1215. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1216. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcElement"); } do { // convert the 'Tag' argument
  1217. boost::shared_ptr<const DataType> arg = params[base++];
  1218. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcElement,1>::aux_is_derived[0]=true; break; }
  1219. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1220. try { GenericConvert( in->Tag, arg, db ); break; }
  1221. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcElement to be a `IfcIdentifier`")); }
  1222. } while(0);
  1223. return base;
  1224. }
  1225. // -----------------------------------------------------------------------------------------------------------
  1226. template <> size_t GenericFill<IfcElementComponent>(const DB& db, const LIST& params, IfcElementComponent* in)
  1227. {
  1228. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1229. // this data structure is not used yet, so there is no code generated to fill its members
  1230. return base;
  1231. }
  1232. // -----------------------------------------------------------------------------------------------------------
  1233. template <> size_t GenericFill<IfcSpatialStructureElementType>(const DB& db, const LIST& params, IfcSpatialStructureElementType* in)
  1234. {
  1235. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  1236. // this data structure is not used yet, so there is no code generated to fill its members
  1237. return base;
  1238. }
  1239. // -----------------------------------------------------------------------------------------------------------
  1240. template <> size_t GenericFill<IfcControl>(const DB& db, const LIST& params, IfcControl* in)
  1241. {
  1242. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1243. // this data structure is not used yet, so there is no code generated to fill its members
  1244. return base;
  1245. }
  1246. // -----------------------------------------------------------------------------------------------------------
  1247. template <> size_t GenericFill<IfcActionRequest>(const DB& db, const LIST& params, IfcActionRequest* in)
  1248. {
  1249. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  1250. // this data structure is not used yet, so there is no code generated to fill its members
  1251. return base;
  1252. }
  1253. // -----------------------------------------------------------------------------------------------------------
  1254. template <> size_t GenericFill<IfcDistributionElementType>(const DB& db, const LIST& params, IfcDistributionElementType* in)
  1255. {
  1256. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  1257. // this data structure is not used yet, so there is no code generated to fill its members
  1258. return base;
  1259. }
  1260. // -----------------------------------------------------------------------------------------------------------
  1261. template <> size_t GenericFill<IfcDistributionFlowElementType>(const DB& db, const LIST& params, IfcDistributionFlowElementType* in)
  1262. {
  1263. size_t base = GenericFill(db,params,static_cast<IfcDistributionElementType*>(in));
  1264. // this data structure is not used yet, so there is no code generated to fill its members
  1265. return base;
  1266. }
  1267. // -----------------------------------------------------------------------------------------------------------
  1268. template <> size_t GenericFill<IfcEnergyConversionDeviceType>(const DB& db, const LIST& params, IfcEnergyConversionDeviceType* in)
  1269. {
  1270. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1271. // this data structure is not used yet, so there is no code generated to fill its members
  1272. return base;
  1273. }
  1274. // -----------------------------------------------------------------------------------------------------------
  1275. template <> size_t GenericFill<IfcCooledBeamType>(const DB& db, const LIST& params, IfcCooledBeamType* in)
  1276. {
  1277. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1278. // this data structure is not used yet, so there is no code generated to fill its members
  1279. return base;
  1280. }
  1281. // -----------------------------------------------------------------------------------------------------------
  1282. template <> size_t GenericFill<IfcCsgPrimitive3D>(const DB& db, const LIST& params, IfcCsgPrimitive3D* in)
  1283. {
  1284. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1285. // this data structure is not used yet, so there is no code generated to fill its members
  1286. return base;
  1287. }
  1288. // -----------------------------------------------------------------------------------------------------------
  1289. template <> size_t GenericFill<IfcRectangularPyramid>(const DB& db, const LIST& params, IfcRectangularPyramid* in)
  1290. {
  1291. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  1292. // this data structure is not used yet, so there is no code generated to fill its members
  1293. return base;
  1294. }
  1295. // -----------------------------------------------------------------------------------------------------------
  1296. template <> size_t GenericFill<IfcSurface>(const DB& db, const LIST& params, IfcSurface* in)
  1297. {
  1298. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1299. return base;
  1300. }
  1301. // -----------------------------------------------------------------------------------------------------------
  1302. template <> size_t GenericFill<IfcBoundedSurface>(const DB& db, const LIST& params, IfcBoundedSurface* in)
  1303. {
  1304. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  1305. // this data structure is not used yet, so there is no code generated to fill its members
  1306. return base;
  1307. }
  1308. // -----------------------------------------------------------------------------------------------------------
  1309. template <> size_t GenericFill<IfcRectangularTrimmedSurface>(const DB& db, const LIST& params, IfcRectangularTrimmedSurface* in)
  1310. {
  1311. size_t base = GenericFill(db,params,static_cast<IfcBoundedSurface*>(in));
  1312. // this data structure is not used yet, so there is no code generated to fill its members
  1313. return base;
  1314. }
  1315. // -----------------------------------------------------------------------------------------------------------
  1316. template <> size_t GenericFill<IfcGroup>(const DB& db, const LIST& params, IfcGroup* in)
  1317. {
  1318. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1319. // this data structure is not used yet, so there is no code generated to fill its members
  1320. return base;
  1321. }
  1322. // -----------------------------------------------------------------------------------------------------------
  1323. template <> size_t GenericFill<IfcRelationship>(const DB& db, const LIST& params, IfcRelationship* in)
  1324. {
  1325. size_t base = GenericFill(db,params,static_cast<IfcRoot*>(in));
  1326. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRelationship"); } return base;
  1327. }
  1328. // -----------------------------------------------------------------------------------------------------------
  1329. template <> size_t GenericFill<IfcHalfSpaceSolid>(const DB& db, const LIST& params, IfcHalfSpaceSolid* in)
  1330. {
  1331. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1332. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcHalfSpaceSolid"); } do { // convert the 'BaseSurface' argument
  1333. boost::shared_ptr<const DataType> arg = params[base++];
  1334. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcHalfSpaceSolid,2>::aux_is_derived[0]=true; break; }
  1335. try { GenericConvert( in->BaseSurface, arg, db ); break; }
  1336. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcHalfSpaceSolid to be a `IfcSurface`")); }
  1337. } while(0);
  1338. do { // convert the 'AgreementFlag' argument
  1339. boost::shared_ptr<const DataType> arg = params[base++];
  1340. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcHalfSpaceSolid,2>::aux_is_derived[1]=true; break; }
  1341. try { GenericConvert( in->AgreementFlag, arg, db ); break; }
  1342. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcHalfSpaceSolid to be a `BOOLEAN`")); }
  1343. } while(0);
  1344. return base;
  1345. }
  1346. // -----------------------------------------------------------------------------------------------------------
  1347. template <> size_t GenericFill<IfcPolygonalBoundedHalfSpace>(const DB& db, const LIST& params, IfcPolygonalBoundedHalfSpace* in)
  1348. {
  1349. size_t base = GenericFill(db,params,static_cast<IfcHalfSpaceSolid*>(in));
  1350. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPolygonalBoundedHalfSpace"); } do { // convert the 'Position' argument
  1351. boost::shared_ptr<const DataType> arg = params[base++];
  1352. try { GenericConvert( in->Position, arg, db ); break; }
  1353. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcPolygonalBoundedHalfSpace to be a `IfcAxis2Placement3D`")); }
  1354. } while(0);
  1355. do { // convert the 'PolygonalBoundary' argument
  1356. boost::shared_ptr<const DataType> arg = params[base++];
  1357. try { GenericConvert( in->PolygonalBoundary, arg, db ); break; }
  1358. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcPolygonalBoundedHalfSpace to be a `IfcBoundedCurve`")); }
  1359. } while(0);
  1360. return base;
  1361. }
  1362. // -----------------------------------------------------------------------------------------------------------
  1363. template <> size_t GenericFill<IfcAirToAirHeatRecoveryType>(const DB& db, const LIST& params, IfcAirToAirHeatRecoveryType* in)
  1364. {
  1365. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1366. // this data structure is not used yet, so there is no code generated to fill its members
  1367. return base;
  1368. }
  1369. // -----------------------------------------------------------------------------------------------------------
  1370. template <> size_t GenericFill<IfcFlowFittingType>(const DB& db, const LIST& params, IfcFlowFittingType* in)
  1371. {
  1372. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1373. // this data structure is not used yet, so there is no code generated to fill its members
  1374. return base;
  1375. }
  1376. // -----------------------------------------------------------------------------------------------------------
  1377. template <> size_t GenericFill<IfcPipeFittingType>(const DB& db, const LIST& params, IfcPipeFittingType* in)
  1378. {
  1379. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  1380. // this data structure is not used yet, so there is no code generated to fill its members
  1381. return base;
  1382. }
  1383. // -----------------------------------------------------------------------------------------------------------
  1384. template <> size_t GenericFill<IfcRepresentation>(const DB& db, const LIST& params, IfcRepresentation* in)
  1385. {
  1386. size_t base = 0;
  1387. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRepresentation"); } do { // convert the 'ContextOfItems' argument
  1388. boost::shared_ptr<const DataType> arg = params[base++];
  1389. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[0]=true; break; }
  1390. try { GenericConvert( in->ContextOfItems, arg, db ); break; }
  1391. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentation to be a `IfcRepresentationContext`")); }
  1392. } while(0);
  1393. do { // convert the 'RepresentationIdentifier' argument
  1394. boost::shared_ptr<const DataType> arg = params[base++];
  1395. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[1]=true; break; }
  1396. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1397. try { GenericConvert( in->RepresentationIdentifier, arg, db ); break; }
  1398. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentation to be a `IfcLabel`")); }
  1399. } while(0);
  1400. do { // convert the 'RepresentationType' argument
  1401. boost::shared_ptr<const DataType> arg = params[base++];
  1402. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[2]=true; break; }
  1403. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1404. try { GenericConvert( in->RepresentationType, arg, db ); break; }
  1405. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRepresentation to be a `IfcLabel`")); }
  1406. } while(0);
  1407. do { // convert the 'Items' argument
  1408. boost::shared_ptr<const DataType> arg = params[base++];
  1409. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[3]=true; break; }
  1410. try { GenericConvert( in->Items, arg, db ); break; }
  1411. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRepresentation to be a `SET [1:?] OF IfcRepresentationItem`")); }
  1412. } while(0);
  1413. return base;
  1414. }
  1415. // -----------------------------------------------------------------------------------------------------------
  1416. template <> size_t GenericFill<IfcStyleModel>(const DB& db, const LIST& params, IfcStyleModel* in)
  1417. {
  1418. size_t base = GenericFill(db,params,static_cast<IfcRepresentation*>(in));
  1419. // this data structure is not used yet, so there is no code generated to fill its members
  1420. return base;
  1421. }
  1422. // -----------------------------------------------------------------------------------------------------------
  1423. template <> size_t GenericFill<IfcStyledRepresentation>(const DB& db, const LIST& params, IfcStyledRepresentation* in)
  1424. {
  1425. size_t base = GenericFill(db,params,static_cast<IfcStyleModel*>(in));
  1426. // this data structure is not used yet, so there is no code generated to fill its members
  1427. return base;
  1428. }
  1429. // -----------------------------------------------------------------------------------------------------------
  1430. template <> size_t GenericFill<IfcBooleanResult>(const DB& db, const LIST& params, IfcBooleanResult* in)
  1431. {
  1432. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1433. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcBooleanResult"); } do { // convert the 'Operator' argument
  1434. boost::shared_ptr<const DataType> arg = params[base++];
  1435. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[0]=true; break; }
  1436. try { GenericConvert( in->Operator, arg, db ); break; }
  1437. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcBooleanResult to be a `IfcBooleanOperator`")); }
  1438. } while(0);
  1439. do { // convert the 'FirstOperand' argument
  1440. boost::shared_ptr<const DataType> arg = params[base++];
  1441. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[1]=true; break; }
  1442. try { GenericConvert( in->FirstOperand, arg, db ); break; }
  1443. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcBooleanResult to be a `IfcBooleanOperand`")); }
  1444. } while(0);
  1445. do { // convert the 'SecondOperand' argument
  1446. boost::shared_ptr<const DataType> arg = params[base++];
  1447. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[2]=true; break; }
  1448. try { GenericConvert( in->SecondOperand, arg, db ); break; }
  1449. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcBooleanResult to be a `IfcBooleanOperand`")); }
  1450. } while(0);
  1451. return base;
  1452. }
  1453. // -----------------------------------------------------------------------------------------------------------
  1454. template <> size_t GenericFill<IfcFeatureElement>(const DB& db, const LIST& params, IfcFeatureElement* in)
  1455. {
  1456. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1457. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcFeatureElement"); } return base;
  1458. }
  1459. // -----------------------------------------------------------------------------------------------------------
  1460. template <> size_t GenericFill<IfcFeatureElementSubtraction>(const DB& db, const LIST& params, IfcFeatureElementSubtraction* in)
  1461. {
  1462. size_t base = GenericFill(db,params,static_cast<IfcFeatureElement*>(in));
  1463. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcFeatureElementSubtraction"); } return base;
  1464. }
  1465. // -----------------------------------------------------------------------------------------------------------
  1466. template <> size_t GenericFill<IfcOpeningElement>(const DB& db, const LIST& params, IfcOpeningElement* in)
  1467. {
  1468. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementSubtraction*>(in));
  1469. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcOpeningElement"); } return base;
  1470. }
  1471. // -----------------------------------------------------------------------------------------------------------
  1472. template <> size_t GenericFill<IfcConditionCriterion>(const DB& db, const LIST& params, IfcConditionCriterion* in)
  1473. {
  1474. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  1475. // this data structure is not used yet, so there is no code generated to fill its members
  1476. return base;
  1477. }
  1478. // -----------------------------------------------------------------------------------------------------------
  1479. template <> size_t GenericFill<IfcFlowTerminalType>(const DB& db, const LIST& params, IfcFlowTerminalType* in)
  1480. {
  1481. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1482. // this data structure is not used yet, so there is no code generated to fill its members
  1483. return base;
  1484. }
  1485. // -----------------------------------------------------------------------------------------------------------
  1486. template <> size_t GenericFill<IfcFlowControllerType>(const DB& db, const LIST& params, IfcFlowControllerType* in)
  1487. {
  1488. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1489. // this data structure is not used yet, so there is no code generated to fill its members
  1490. return base;
  1491. }
  1492. // -----------------------------------------------------------------------------------------------------------
  1493. template <> size_t GenericFill<IfcSwitchingDeviceType>(const DB& db, const LIST& params, IfcSwitchingDeviceType* in)
  1494. {
  1495. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  1496. // this data structure is not used yet, so there is no code generated to fill its members
  1497. return base;
  1498. }
  1499. // -----------------------------------------------------------------------------------------------------------
  1500. template <> size_t GenericFill<IfcSystem>(const DB& db, const LIST& params, IfcSystem* in)
  1501. {
  1502. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  1503. // this data structure is not used yet, so there is no code generated to fill its members
  1504. return base;
  1505. }
  1506. // -----------------------------------------------------------------------------------------------------------
  1507. template <> size_t GenericFill<IfcElectricalCircuit>(const DB& db, const LIST& params, IfcElectricalCircuit* in)
  1508. {
  1509. size_t base = GenericFill(db,params,static_cast<IfcSystem*>(in));
  1510. // this data structure is not used yet, so there is no code generated to fill its members
  1511. return base;
  1512. }
  1513. // -----------------------------------------------------------------------------------------------------------
  1514. template <> size_t GenericFill<IfcUnitaryEquipmentType>(const DB& db, const LIST& params, IfcUnitaryEquipmentType* in)
  1515. {
  1516. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1517. // this data structure is not used yet, so there is no code generated to fill its members
  1518. return base;
  1519. }
  1520. // -----------------------------------------------------------------------------------------------------------
  1521. template <> size_t GenericFill<IfcPort>(const DB& db, const LIST& params, IfcPort* in)
  1522. {
  1523. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1524. // this data structure is not used yet, so there is no code generated to fill its members
  1525. return base;
  1526. }
  1527. // -----------------------------------------------------------------------------------------------------------
  1528. template <> size_t GenericFill<IfcPlacement>(const DB& db, const LIST& params, IfcPlacement* in)
  1529. {
  1530. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1531. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPlacement"); } do { // convert the 'Location' argument
  1532. boost::shared_ptr<const DataType> arg = params[base++];
  1533. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcPlacement,1>::aux_is_derived[0]=true; break; }
  1534. try { GenericConvert( in->Location, arg, db ); break; }
  1535. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPlacement to be a `IfcCartesianPoint`")); }
  1536. } while(0);
  1537. return base;
  1538. }
  1539. // -----------------------------------------------------------------------------------------------------------
  1540. template <> size_t GenericFill<IfcArbitraryClosedProfileDef>(const DB& db, const LIST& params, IfcArbitraryClosedProfileDef* in)
  1541. {
  1542. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  1543. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcArbitraryClosedProfileDef"); } do { // convert the 'OuterCurve' argument
  1544. boost::shared_ptr<const DataType> arg = params[base++];
  1545. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcArbitraryClosedProfileDef,1>::aux_is_derived[0]=true; break; }
  1546. try { GenericConvert( in->OuterCurve, arg, db ); break; }
  1547. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcArbitraryClosedProfileDef to be a `IfcCurve`")); }
  1548. } while(0);
  1549. return base;
  1550. }
  1551. // -----------------------------------------------------------------------------------------------------------
  1552. template <> size_t GenericFill<IfcCurve>(const DB& db, const LIST& params, IfcCurve* in)
  1553. {
  1554. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1555. return base;
  1556. }
  1557. // -----------------------------------------------------------------------------------------------------------
  1558. template <> size_t GenericFill<IfcConic>(const DB& db, const LIST& params, IfcConic* in)
  1559. {
  1560. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  1561. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcConic"); } do { // convert the 'Position' argument
  1562. boost::shared_ptr<const DataType> arg = params[base++];
  1563. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcConic,1>::aux_is_derived[0]=true; break; }
  1564. try { GenericConvert( in->Position, arg, db ); break; }
  1565. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcConic to be a `IfcAxis2Placement`")); }
  1566. } while(0);
  1567. return base;
  1568. }
  1569. // -----------------------------------------------------------------------------------------------------------
  1570. template <> size_t GenericFill<IfcCircle>(const DB& db, const LIST& params, IfcCircle* in)
  1571. {
  1572. size_t base = GenericFill(db,params,static_cast<IfcConic*>(in));
  1573. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcCircle"); } do { // convert the 'Radius' argument
  1574. boost::shared_ptr<const DataType> arg = params[base++];
  1575. try { GenericConvert( in->Radius, arg, db ); break; }
  1576. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCircle to be a `IfcPositiveLengthMeasure`")); }
  1577. } while(0);
  1578. return base;
  1579. }
  1580. // -----------------------------------------------------------------------------------------------------------
  1581. template <> size_t GenericFill<IfcElementarySurface>(const DB& db, const LIST& params, IfcElementarySurface* in)
  1582. {
  1583. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  1584. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcElementarySurface"); } do { // convert the 'Position' argument
  1585. boost::shared_ptr<const DataType> arg = params[base++];
  1586. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcElementarySurface,1>::aux_is_derived[0]=true; break; }
  1587. try { GenericConvert( in->Position, arg, db ); break; }
  1588. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcElementarySurface to be a `IfcAxis2Placement3D`")); }
  1589. } while(0);
  1590. return base;
  1591. }
  1592. // -----------------------------------------------------------------------------------------------------------
  1593. template <> size_t GenericFill<IfcPlane>(const DB& db, const LIST& params, IfcPlane* in)
  1594. {
  1595. size_t base = GenericFill(db,params,static_cast<IfcElementarySurface*>(in));
  1596. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPlane"); } return base;
  1597. }
  1598. // -----------------------------------------------------------------------------------------------------------
  1599. template <> size_t GenericFill<IfcCostSchedule>(const DB& db, const LIST& params, IfcCostSchedule* in)
  1600. {
  1601. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  1602. // this data structure is not used yet, so there is no code generated to fill its members
  1603. return base;
  1604. }
  1605. // -----------------------------------------------------------------------------------------------------------
  1606. template <> size_t GenericFill<IfcRightCircularCone>(const DB& db, const LIST& params, IfcRightCircularCone* in)
  1607. {
  1608. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  1609. // this data structure is not used yet, so there is no code generated to fill its members
  1610. return base;
  1611. }
  1612. // -----------------------------------------------------------------------------------------------------------
  1613. template <> size_t GenericFill<IfcElementAssembly>(const DB& db, const LIST& params, IfcElementAssembly* in)
  1614. {
  1615. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1616. // this data structure is not used yet, so there is no code generated to fill its members
  1617. return base;
  1618. }
  1619. // -----------------------------------------------------------------------------------------------------------
  1620. template <> size_t GenericFill<IfcBuildingElement>(const DB& db, const LIST& params, IfcBuildingElement* in)
  1621. {
  1622. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1623. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcBuildingElement"); } return base;
  1624. }
  1625. // -----------------------------------------------------------------------------------------------------------
  1626. template <> size_t GenericFill<IfcMember>(const DB& db, const LIST& params, IfcMember* in)
  1627. {
  1628. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  1629. // this data structure is not used yet, so there is no code generated to fill its members
  1630. return base;
  1631. }
  1632. // -----------------------------------------------------------------------------------------------------------
  1633. template <> size_t GenericFill<IfcBuildingElementProxy>(const DB& db, const LIST& params, IfcBuildingElementProxy* in)
  1634. {
  1635. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  1636. // this data structure is not used yet, so there is no code generated to fill its members
  1637. return base;
  1638. }
  1639. // -----------------------------------------------------------------------------------------------------------
  1640. template <> size_t GenericFill<IfcStructuralActivity>(const DB& db, const LIST& params, IfcStructuralActivity* in)
  1641. {
  1642. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1643. // this data structure is not used yet, so there is no code generated to fill its members
  1644. return base;
  1645. }
  1646. // -----------------------------------------------------------------------------------------------------------
  1647. template <> size_t GenericFill<IfcStructuralAction>(const DB& db, const LIST& params, IfcStructuralAction* in)
  1648. {
  1649. size_t base = GenericFill(db,params,static_cast<IfcStructuralActivity*>(in));
  1650. // this data structure is not used yet, so there is no code generated to fill its members
  1651. return base;
  1652. }
  1653. // -----------------------------------------------------------------------------------------------------------
  1654. template <> size_t GenericFill<IfcStructuralPlanarAction>(const DB& db, const LIST& params, IfcStructuralPlanarAction* in)
  1655. {
  1656. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  1657. // this data structure is not used yet, so there is no code generated to fill its members
  1658. return base;
  1659. }
  1660. // -----------------------------------------------------------------------------------------------------------
  1661. template <> size_t GenericFill<IfcTopologicalRepresentationItem>(const DB& db, const LIST& params, IfcTopologicalRepresentationItem* in)
  1662. {
  1663. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  1664. return base;
  1665. }
  1666. // -----------------------------------------------------------------------------------------------------------
  1667. template <> size_t GenericFill<IfcConnectedFaceSet>(const DB& db, const LIST& params, IfcConnectedFaceSet* in)
  1668. {
  1669. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  1670. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcConnectedFaceSet"); } do { // convert the 'CfsFaces' argument
  1671. boost::shared_ptr<const DataType> arg = params[base++];
  1672. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcConnectedFaceSet,1>::aux_is_derived[0]=true; break; }
  1673. try { GenericConvert( in->CfsFaces, arg, db ); break; }
  1674. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcConnectedFaceSet to be a `SET [1:?] OF IfcFace`")); }
  1675. } while(0);
  1676. return base;
  1677. }
  1678. // -----------------------------------------------------------------------------------------------------------
  1679. template <> size_t GenericFill<IfcSweptSurface>(const DB& db, const LIST& params, IfcSweptSurface* in)
  1680. {
  1681. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  1682. // this data structure is not used yet, so there is no code generated to fill its members
  1683. return base;
  1684. }
  1685. // -----------------------------------------------------------------------------------------------------------
  1686. template <> size_t GenericFill<IfcSurfaceOfLinearExtrusion>(const DB& db, const LIST& params, IfcSurfaceOfLinearExtrusion* in)
  1687. {
  1688. size_t base = GenericFill(db,params,static_cast<IfcSweptSurface*>(in));
  1689. // this data structure is not used yet, so there is no code generated to fill its members
  1690. return base;
  1691. }
  1692. // -----------------------------------------------------------------------------------------------------------
  1693. template <> size_t GenericFill<IfcArbitraryProfileDefWithVoids>(const DB& db, const LIST& params, IfcArbitraryProfileDefWithVoids* in)
  1694. {
  1695. size_t base = GenericFill(db,params,static_cast<IfcArbitraryClosedProfileDef*>(in));
  1696. // this data structure is not used yet, so there is no code generated to fill its members
  1697. return base;
  1698. }
  1699. // -----------------------------------------------------------------------------------------------------------
  1700. template <> size_t GenericFill<IfcProcess>(const DB& db, const LIST& params, IfcProcess* in)
  1701. {
  1702. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1703. // this data structure is not used yet, so there is no code generated to fill its members
  1704. return base;
  1705. }
  1706. // -----------------------------------------------------------------------------------------------------------
  1707. template <> size_t GenericFill<IfcProcedure>(const DB& db, const LIST& params, IfcProcedure* in)
  1708. {
  1709. size_t base = GenericFill(db,params,static_cast<IfcProcess*>(in));
  1710. // this data structure is not used yet, so there is no code generated to fill its members
  1711. return base;
  1712. }
  1713. // -----------------------------------------------------------------------------------------------------------
  1714. template <> size_t GenericFill<IfcVector>(const DB& db, const LIST& params, IfcVector* in)
  1715. {
  1716. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1717. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcVector"); } do { // convert the 'Orientation' argument
  1718. boost::shared_ptr<const DataType> arg = params[base++];
  1719. try { GenericConvert( in->Orientation, arg, db ); break; }
  1720. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcVector to be a `IfcDirection`")); }
  1721. } while(0);
  1722. do { // convert the 'Magnitude' argument
  1723. boost::shared_ptr<const DataType> arg = params[base++];
  1724. try { GenericConvert( in->Magnitude, arg, db ); break; }
  1725. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcVector to be a `IfcLengthMeasure`")); }
  1726. } while(0);
  1727. return base;
  1728. }
  1729. // -----------------------------------------------------------------------------------------------------------
  1730. template <> size_t GenericFill<IfcFaceBound>(const DB& db, const LIST& params, IfcFaceBound* in)
  1731. {
  1732. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  1733. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcFaceBound"); } do { // convert the 'Bound' argument
  1734. boost::shared_ptr<const DataType> arg = params[base++];
  1735. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFaceBound,2>::aux_is_derived[0]=true; break; }
  1736. try { GenericConvert( in->Bound, arg, db ); break; }
  1737. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFaceBound to be a `IfcLoop`")); }
  1738. } while(0);
  1739. do { // convert the 'Orientation' argument
  1740. boost::shared_ptr<const DataType> arg = params[base++];
  1741. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFaceBound,2>::aux_is_derived[1]=true; break; }
  1742. try { GenericConvert( in->Orientation, arg, db ); break; }
  1743. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcFaceBound to be a `BOOLEAN`")); }
  1744. } while(0);
  1745. return base;
  1746. }
  1747. // -----------------------------------------------------------------------------------------------------------
  1748. template <> size_t GenericFill<IfcFaceOuterBound>(const DB& db, const LIST& params, IfcFaceOuterBound* in)
  1749. {
  1750. size_t base = GenericFill(db,params,static_cast<IfcFaceBound*>(in));
  1751. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcFaceOuterBound"); } return base;
  1752. }
  1753. // -----------------------------------------------------------------------------------------------------------
  1754. template <> size_t GenericFill<IfcFeatureElementAddition>(const DB& db, const LIST& params, IfcFeatureElementAddition* in)
  1755. {
  1756. size_t base = GenericFill(db,params,static_cast<IfcFeatureElement*>(in));
  1757. // this data structure is not used yet, so there is no code generated to fill its members
  1758. return base;
  1759. }
  1760. // -----------------------------------------------------------------------------------------------------------
  1761. template <> size_t GenericFill<IfcNamedUnit>(const DB& db, const LIST& params, IfcNamedUnit* in)
  1762. {
  1763. size_t base = 0;
  1764. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcNamedUnit"); } do { // convert the 'Dimensions' argument
  1765. boost::shared_ptr<const DataType> arg = params[base++];
  1766. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcNamedUnit,2>::aux_is_derived[0]=true; break; }
  1767. try { GenericConvert( in->Dimensions, arg, db ); break; }
  1768. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcNamedUnit to be a `IfcDimensionalExponents`")); }
  1769. } while(0);
  1770. do { // convert the 'UnitType' argument
  1771. boost::shared_ptr<const DataType> arg = params[base++];
  1772. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcNamedUnit,2>::aux_is_derived[1]=true; break; }
  1773. try { GenericConvert( in->UnitType, arg, db ); break; }
  1774. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcNamedUnit to be a `IfcUnitEnum`")); }
  1775. } while(0);
  1776. return base;
  1777. }
  1778. // -----------------------------------------------------------------------------------------------------------
  1779. template <> size_t GenericFill<IfcConversionBasedUnit>(const DB& db, const LIST& params, IfcConversionBasedUnit* in)
  1780. {
  1781. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(in));
  1782. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcConversionBasedUnit"); } do { // convert the 'Name' argument
  1783. boost::shared_ptr<const DataType> arg = params[base++];
  1784. try { GenericConvert( in->Name, arg, db ); break; }
  1785. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcConversionBasedUnit to be a `IfcLabel`")); }
  1786. } while(0);
  1787. do { // convert the 'ConversionFactor' argument
  1788. boost::shared_ptr<const DataType> arg = params[base++];
  1789. try { GenericConvert( in->ConversionFactor, arg, db ); break; }
  1790. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcConversionBasedUnit to be a `IfcMeasureWithUnit`")); }
  1791. } while(0);
  1792. return base;
  1793. }
  1794. // -----------------------------------------------------------------------------------------------------------
  1795. template <> size_t GenericFill<IfcHeatExchangerType>(const DB& db, const LIST& params, IfcHeatExchangerType* in)
  1796. {
  1797. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1798. // this data structure is not used yet, so there is no code generated to fill its members
  1799. return base;
  1800. }
  1801. // -----------------------------------------------------------------------------------------------------------
  1802. template <> size_t GenericFill<IfcPresentationStyleAssignment>(const DB& db, const LIST& params, IfcPresentationStyleAssignment* in)
  1803. {
  1804. size_t base = 0;
  1805. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPresentationStyleAssignment"); } do { // convert the 'Styles' argument
  1806. boost::shared_ptr<const DataType> arg = params[base++];
  1807. try { GenericConvert( in->Styles, arg, db ); break; }
  1808. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPresentationStyleAssignment to be a `SET [1:?] OF IfcPresentationStyleSelect`")); }
  1809. } while(0);
  1810. return base;
  1811. }
  1812. // -----------------------------------------------------------------------------------------------------------
  1813. template <> size_t GenericFill<IfcFlowTreatmentDeviceType>(const DB& db, const LIST& params, IfcFlowTreatmentDeviceType* in)
  1814. {
  1815. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1816. // this data structure is not used yet, so there is no code generated to fill its members
  1817. return base;
  1818. }
  1819. // -----------------------------------------------------------------------------------------------------------
  1820. template <> size_t GenericFill<IfcFilterType>(const DB& db, const LIST& params, IfcFilterType* in)
  1821. {
  1822. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDeviceType*>(in));
  1823. // this data structure is not used yet, so there is no code generated to fill its members
  1824. return base;
  1825. }
  1826. // -----------------------------------------------------------------------------------------------------------
  1827. template <> size_t GenericFill<IfcResource>(const DB& db, const LIST& params, IfcResource* in)
  1828. {
  1829. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1830. // this data structure is not used yet, so there is no code generated to fill its members
  1831. return base;
  1832. }
  1833. // -----------------------------------------------------------------------------------------------------------
  1834. template <> size_t GenericFill<IfcEvaporativeCoolerType>(const DB& db, const LIST& params, IfcEvaporativeCoolerType* in)
  1835. {
  1836. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1837. // this data structure is not used yet, so there is no code generated to fill its members
  1838. return base;
  1839. }
  1840. // -----------------------------------------------------------------------------------------------------------
  1841. template <> size_t GenericFill<IfcOffsetCurve2D>(const DB& db, const LIST& params, IfcOffsetCurve2D* in)
  1842. {
  1843. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  1844. // this data structure is not used yet, so there is no code generated to fill its members
  1845. return base;
  1846. }
  1847. // -----------------------------------------------------------------------------------------------------------
  1848. template <> size_t GenericFill<IfcEdge>(const DB& db, const LIST& params, IfcEdge* in)
  1849. {
  1850. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  1851. // this data structure is not used yet, so there is no code generated to fill its members
  1852. return base;
  1853. }
  1854. // -----------------------------------------------------------------------------------------------------------
  1855. template <> size_t GenericFill<IfcSubedge>(const DB& db, const LIST& params, IfcSubedge* in)
  1856. {
  1857. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  1858. // this data structure is not used yet, so there is no code generated to fill its members
  1859. return base;
  1860. }
  1861. // -----------------------------------------------------------------------------------------------------------
  1862. template <> size_t GenericFill<IfcProxy>(const DB& db, const LIST& params, IfcProxy* in)
  1863. {
  1864. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1865. // this data structure is not used yet, so there is no code generated to fill its members
  1866. return base;
  1867. }
  1868. // -----------------------------------------------------------------------------------------------------------
  1869. template <> size_t GenericFill<IfcLine>(const DB& db, const LIST& params, IfcLine* in)
  1870. {
  1871. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  1872. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcLine"); } do { // convert the 'Pnt' argument
  1873. boost::shared_ptr<const DataType> arg = params[base++];
  1874. try { GenericConvert( in->Pnt, arg, db ); break; }
  1875. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcLine to be a `IfcCartesianPoint`")); }
  1876. } while(0);
  1877. do { // convert the 'Dir' argument
  1878. boost::shared_ptr<const DataType> arg = params[base++];
  1879. try { GenericConvert( in->Dir, arg, db ); break; }
  1880. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcLine to be a `IfcVector`")); }
  1881. } while(0);
  1882. return base;
  1883. }
  1884. // -----------------------------------------------------------------------------------------------------------
  1885. template <> size_t GenericFill<IfcColumn>(const DB& db, const LIST& params, IfcColumn* in)
  1886. {
  1887. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  1888. // this data structure is not used yet, so there is no code generated to fill its members
  1889. return base;
  1890. }
  1891. // -----------------------------------------------------------------------------------------------------------
  1892. template <> size_t GenericFill<IfcObjectPlacement>(const DB& db, const LIST& params, IfcObjectPlacement* in)
  1893. {
  1894. size_t base = 0;
  1895. return base;
  1896. }
  1897. // -----------------------------------------------------------------------------------------------------------
  1898. template <> size_t GenericFill<IfcGridPlacement>(const DB& db, const LIST& params, IfcGridPlacement* in)
  1899. {
  1900. size_t base = GenericFill(db,params,static_cast<IfcObjectPlacement*>(in));
  1901. // this data structure is not used yet, so there is no code generated to fill its members
  1902. return base;
  1903. }
  1904. // -----------------------------------------------------------------------------------------------------------
  1905. template <> size_t GenericFill<IfcDistributionControlElementType>(const DB& db, const LIST& params, IfcDistributionControlElementType* in)
  1906. {
  1907. size_t base = GenericFill(db,params,static_cast<IfcDistributionElementType*>(in));
  1908. // this data structure is not used yet, so there is no code generated to fill its members
  1909. return base;
  1910. }
  1911. // -----------------------------------------------------------------------------------------------------------
  1912. template <> size_t GenericFill<IfcRelConnects>(const DB& db, const LIST& params, IfcRelConnects* in)
  1913. {
  1914. size_t base = GenericFill(db,params,static_cast<IfcRelationship*>(in));
  1915. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRelConnects"); } return base;
  1916. }
  1917. // -----------------------------------------------------------------------------------------------------------
  1918. template <> size_t GenericFill<IfcAnnotation>(const DB& db, const LIST& params, IfcAnnotation* in)
  1919. {
  1920. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1921. if (params.GetSize() < 7) { throw STEP::TypeError("expected 7 arguments to IfcAnnotation"); } return base;
  1922. }
  1923. // -----------------------------------------------------------------------------------------------------------
  1924. template <> size_t GenericFill<IfcPlate>(const DB& db, const LIST& params, IfcPlate* in)
  1925. {
  1926. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  1927. // this data structure is not used yet, so there is no code generated to fill its members
  1928. return base;
  1929. }
  1930. // -----------------------------------------------------------------------------------------------------------
  1931. template <> size_t GenericFill<IfcSolidModel>(const DB& db, const LIST& params, IfcSolidModel* in)
  1932. {
  1933. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1934. return base;
  1935. }
  1936. // -----------------------------------------------------------------------------------------------------------
  1937. template <> size_t GenericFill<IfcManifoldSolidBrep>(const DB& db, const LIST& params, IfcManifoldSolidBrep* in)
  1938. {
  1939. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  1940. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcManifoldSolidBrep"); } do { // convert the 'Outer' argument
  1941. boost::shared_ptr<const DataType> arg = params[base++];
  1942. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcManifoldSolidBrep,1>::aux_is_derived[0]=true; break; }
  1943. try { GenericConvert( in->Outer, arg, db ); break; }
  1944. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcManifoldSolidBrep to be a `IfcClosedShell`")); }
  1945. } while(0);
  1946. return base;
  1947. }
  1948. // -----------------------------------------------------------------------------------------------------------
  1949. template <> size_t GenericFill<IfcFlowStorageDeviceType>(const DB& db, const LIST& params, IfcFlowStorageDeviceType* in)
  1950. {
  1951. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1952. // this data structure is not used yet, so there is no code generated to fill its members
  1953. return base;
  1954. }
  1955. // -----------------------------------------------------------------------------------------------------------
  1956. template <> size_t GenericFill<IfcStructuralItem>(const DB& db, const LIST& params, IfcStructuralItem* in)
  1957. {
  1958. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1959. // this data structure is not used yet, so there is no code generated to fill its members
  1960. return base;
  1961. }
  1962. // -----------------------------------------------------------------------------------------------------------
  1963. template <> size_t GenericFill<IfcStructuralMember>(const DB& db, const LIST& params, IfcStructuralMember* in)
  1964. {
  1965. size_t base = GenericFill(db,params,static_cast<IfcStructuralItem*>(in));
  1966. // this data structure is not used yet, so there is no code generated to fill its members
  1967. return base;
  1968. }
  1969. // -----------------------------------------------------------------------------------------------------------
  1970. template <> size_t GenericFill<IfcStructuralCurveMember>(const DB& db, const LIST& params, IfcStructuralCurveMember* in)
  1971. {
  1972. size_t base = GenericFill(db,params,static_cast<IfcStructuralMember*>(in));
  1973. // this data structure is not used yet, so there is no code generated to fill its members
  1974. return base;
  1975. }
  1976. // -----------------------------------------------------------------------------------------------------------
  1977. template <> size_t GenericFill<IfcStructuralConnection>(const DB& db, const LIST& params, IfcStructuralConnection* in)
  1978. {
  1979. size_t base = GenericFill(db,params,static_cast<IfcStructuralItem*>(in));
  1980. // this data structure is not used yet, so there is no code generated to fill its members
  1981. return base;
  1982. }
  1983. // -----------------------------------------------------------------------------------------------------------
  1984. template <> size_t GenericFill<IfcStructuralSurfaceConnection>(const DB& db, const LIST& params, IfcStructuralSurfaceConnection* in)
  1985. {
  1986. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  1987. // this data structure is not used yet, so there is no code generated to fill its members
  1988. return base;
  1989. }
  1990. // -----------------------------------------------------------------------------------------------------------
  1991. template <> size_t GenericFill<IfcCoilType>(const DB& db, const LIST& params, IfcCoilType* in)
  1992. {
  1993. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1994. // this data structure is not used yet, so there is no code generated to fill its members
  1995. return base;
  1996. }
  1997. // -----------------------------------------------------------------------------------------------------------
  1998. template <> size_t GenericFill<IfcDuctFittingType>(const DB& db, const LIST& params, IfcDuctFittingType* in)
  1999. {
  2000. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  2001. // this data structure is not used yet, so there is no code generated to fill its members
  2002. return base;
  2003. }
  2004. // -----------------------------------------------------------------------------------------------------------
  2005. template <> size_t GenericFill<IfcStyledItem>(const DB& db, const LIST& params, IfcStyledItem* in)
  2006. {
  2007. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  2008. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcStyledItem"); } do { // convert the 'Item' argument
  2009. boost::shared_ptr<const DataType> arg = params[base++];
  2010. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcStyledItem,3>::aux_is_derived[0]=true; break; }
  2011. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2012. try { GenericConvert( in->Item, arg, db ); break; }
  2013. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcStyledItem to be a `IfcRepresentationItem`")); }
  2014. } while(0);
  2015. do { // convert the 'Styles' argument
  2016. boost::shared_ptr<const DataType> arg = params[base++];
  2017. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcStyledItem,3>::aux_is_derived[1]=true; break; }
  2018. try { GenericConvert( in->Styles, arg, db ); break; }
  2019. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcStyledItem to be a `SET [1:?] OF IfcPresentationStyleAssignment`")); }
  2020. } while(0);
  2021. do { // convert the 'Name' argument
  2022. boost::shared_ptr<const DataType> arg = params[base++];
  2023. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcStyledItem,3>::aux_is_derived[2]=true; break; }
  2024. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2025. try { GenericConvert( in->Name, arg, db ); break; }
  2026. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcStyledItem to be a `IfcLabel`")); }
  2027. } while(0);
  2028. return base;
  2029. }
  2030. // -----------------------------------------------------------------------------------------------------------
  2031. template <> size_t GenericFill<IfcAnnotationOccurrence>(const DB& db, const LIST& params, IfcAnnotationOccurrence* in)
  2032. {
  2033. size_t base = GenericFill(db,params,static_cast<IfcStyledItem*>(in));
  2034. // this data structure is not used yet, so there is no code generated to fill its members
  2035. return base;
  2036. }
  2037. // -----------------------------------------------------------------------------------------------------------
  2038. template <> size_t GenericFill<IfcAnnotationCurveOccurrence>(const DB& db, const LIST& params, IfcAnnotationCurveOccurrence* in)
  2039. {
  2040. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  2041. // this data structure is not used yet, so there is no code generated to fill its members
  2042. return base;
  2043. }
  2044. // -----------------------------------------------------------------------------------------------------------
  2045. template <> size_t GenericFill<IfcDimensionCurve>(const DB& db, const LIST& params, IfcDimensionCurve* in)
  2046. {
  2047. size_t base = GenericFill(db,params,static_cast<IfcAnnotationCurveOccurrence*>(in));
  2048. // this data structure is not used yet, so there is no code generated to fill its members
  2049. return base;
  2050. }
  2051. // -----------------------------------------------------------------------------------------------------------
  2052. template <> size_t GenericFill<IfcBoundedCurve>(const DB& db, const LIST& params, IfcBoundedCurve* in)
  2053. {
  2054. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  2055. return base;
  2056. }
  2057. // -----------------------------------------------------------------------------------------------------------
  2058. template <> size_t GenericFill<IfcAxis1Placement>(const DB& db, const LIST& params, IfcAxis1Placement* in)
  2059. {
  2060. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  2061. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcAxis1Placement"); } do { // convert the 'Axis' argument
  2062. boost::shared_ptr<const DataType> arg = params[base++];
  2063. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2064. try { GenericConvert( in->Axis, arg, db ); break; }
  2065. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis1Placement to be a `IfcDirection`")); }
  2066. } while(0);
  2067. return base;
  2068. }
  2069. // -----------------------------------------------------------------------------------------------------------
  2070. template <> size_t GenericFill<IfcColourSpecification>(const DB& db, const LIST& params, IfcColourSpecification* in)
  2071. {
  2072. size_t base = 0;
  2073. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcColourSpecification"); } do { // convert the 'Name' argument
  2074. boost::shared_ptr<const DataType> arg = params[base++];
  2075. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcColourSpecification,1>::aux_is_derived[0]=true; break; }
  2076. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2077. try { GenericConvert( in->Name, arg, db ); break; }
  2078. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcColourSpecification to be a `IfcLabel`")); }
  2079. } while(0);
  2080. return base;
  2081. }
  2082. // -----------------------------------------------------------------------------------------------------------
  2083. template <> size_t GenericFill<IfcStructuralPointAction>(const DB& db, const LIST& params, IfcStructuralPointAction* in)
  2084. {
  2085. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  2086. // this data structure is not used yet, so there is no code generated to fill its members
  2087. return base;
  2088. }
  2089. // -----------------------------------------------------------------------------------------------------------
  2090. template <> size_t GenericFill<IfcSpatialStructureElement>(const DB& db, const LIST& params, IfcSpatialStructureElement* in)
  2091. {
  2092. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  2093. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcSpatialStructureElement"); } do { // convert the 'LongName' argument
  2094. boost::shared_ptr<const DataType> arg = params[base++];
  2095. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSpatialStructureElement,2>::aux_is_derived[0]=true; break; }
  2096. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2097. try { GenericConvert( in->LongName, arg, db ); break; }
  2098. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcSpatialStructureElement to be a `IfcLabel`")); }
  2099. } while(0);
  2100. do { // convert the 'CompositionType' argument
  2101. boost::shared_ptr<const DataType> arg = params[base++];
  2102. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSpatialStructureElement,2>::aux_is_derived[1]=true; break; }
  2103. try { GenericConvert( in->CompositionType, arg, db ); break; }
  2104. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcSpatialStructureElement to be a `IfcElementCompositionEnum`")); }
  2105. } while(0);
  2106. return base;
  2107. }
  2108. // -----------------------------------------------------------------------------------------------------------
  2109. template <> size_t GenericFill<IfcSpace>(const DB& db, const LIST& params, IfcSpace* in)
  2110. {
  2111. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  2112. if (params.GetSize() < 11) { throw STEP::TypeError("expected 11 arguments to IfcSpace"); } do { // convert the 'InteriorOrExteriorSpace' argument
  2113. boost::shared_ptr<const DataType> arg = params[base++];
  2114. try { GenericConvert( in->InteriorOrExteriorSpace, arg, db ); break; }
  2115. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcSpace to be a `IfcInternalOrExternalEnum`")); }
  2116. } while(0);
  2117. do { // convert the 'ElevationWithFlooring' argument
  2118. boost::shared_ptr<const DataType> arg = params[base++];
  2119. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2120. try { GenericConvert( in->ElevationWithFlooring, arg, db ); break; }
  2121. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcSpace to be a `IfcLengthMeasure`")); }
  2122. } while(0);
  2123. return base;
  2124. }
  2125. // -----------------------------------------------------------------------------------------------------------
  2126. template <> size_t GenericFill<IfcContextDependentUnit>(const DB& db, const LIST& params, IfcContextDependentUnit* in)
  2127. {
  2128. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(in));
  2129. // this data structure is not used yet, so there is no code generated to fill its members
  2130. return base;
  2131. }
  2132. // -----------------------------------------------------------------------------------------------------------
  2133. template <> size_t GenericFill<IfcCoolingTowerType>(const DB& db, const LIST& params, IfcCoolingTowerType* in)
  2134. {
  2135. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2136. // this data structure is not used yet, so there is no code generated to fill its members
  2137. return base;
  2138. }
  2139. // -----------------------------------------------------------------------------------------------------------
  2140. template <> size_t GenericFill<IfcFacetedBrepWithVoids>(const DB& db, const LIST& params, IfcFacetedBrepWithVoids* in)
  2141. {
  2142. size_t base = GenericFill(db,params,static_cast<IfcManifoldSolidBrep*>(in));
  2143. // this data structure is not used yet, so there is no code generated to fill its members
  2144. return base;
  2145. }
  2146. // -----------------------------------------------------------------------------------------------------------
  2147. template <> size_t GenericFill<IfcValveType>(const DB& db, const LIST& params, IfcValveType* in)
  2148. {
  2149. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  2150. // this data structure is not used yet, so there is no code generated to fill its members
  2151. return base;
  2152. }
  2153. // -----------------------------------------------------------------------------------------------------------
  2154. template <> size_t GenericFill<IfcSystemFurnitureElementType>(const DB& db, const LIST& params, IfcSystemFurnitureElementType* in)
  2155. {
  2156. size_t base = GenericFill(db,params,static_cast<IfcFurnishingElementType*>(in));
  2157. // this data structure is not used yet, so there is no code generated to fill its members
  2158. return base;
  2159. }
  2160. // -----------------------------------------------------------------------------------------------------------
  2161. template <> size_t GenericFill<IfcDiscreteAccessory>(const DB& db, const LIST& params, IfcDiscreteAccessory* in)
  2162. {
  2163. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  2164. // this data structure is not used yet, so there is no code generated to fill its members
  2165. return base;
  2166. }
  2167. // -----------------------------------------------------------------------------------------------------------
  2168. template <> size_t GenericFill<IfcBuildingElementType>(const DB& db, const LIST& params, IfcBuildingElementType* in)
  2169. {
  2170. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  2171. // this data structure is not used yet, so there is no code generated to fill its members
  2172. return base;
  2173. }
  2174. // -----------------------------------------------------------------------------------------------------------
  2175. template <> size_t GenericFill<IfcRailingType>(const DB& db, const LIST& params, IfcRailingType* in)
  2176. {
  2177. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2178. // this data structure is not used yet, so there is no code generated to fill its members
  2179. return base;
  2180. }
  2181. // -----------------------------------------------------------------------------------------------------------
  2182. template <> size_t GenericFill<IfcGasTerminalType>(const DB& db, const LIST& params, IfcGasTerminalType* in)
  2183. {
  2184. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  2185. // this data structure is not used yet, so there is no code generated to fill its members
  2186. return base;
  2187. }
  2188. // -----------------------------------------------------------------------------------------------------------
  2189. template <> size_t GenericFill<IfcSpaceProgram>(const DB& db, const LIST& params, IfcSpaceProgram* in)
  2190. {
  2191. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2192. // this data structure is not used yet, so there is no code generated to fill its members
  2193. return base;
  2194. }
  2195. // -----------------------------------------------------------------------------------------------------------
  2196. template <> size_t GenericFill<IfcCovering>(const DB& db, const LIST& params, IfcCovering* in)
  2197. {
  2198. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2199. // this data structure is not used yet, so there is no code generated to fill its members
  2200. return base;
  2201. }
  2202. // -----------------------------------------------------------------------------------------------------------
  2203. template <> size_t GenericFill<IfcPresentationStyle>(const DB& db, const LIST& params, IfcPresentationStyle* in)
  2204. {
  2205. size_t base = 0;
  2206. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPresentationStyle"); } do { // convert the 'Name' argument
  2207. boost::shared_ptr<const DataType> arg = params[base++];
  2208. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcPresentationStyle,1>::aux_is_derived[0]=true; break; }
  2209. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2210. try { GenericConvert( in->Name, arg, db ); break; }
  2211. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPresentationStyle to be a `IfcLabel`")); }
  2212. } while(0);
  2213. return base;
  2214. }
  2215. // -----------------------------------------------------------------------------------------------------------
  2216. template <> size_t GenericFill<IfcElectricHeaterType>(const DB& db, const LIST& params, IfcElectricHeaterType* in)
  2217. {
  2218. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  2219. // this data structure is not used yet, so there is no code generated to fill its members
  2220. return base;
  2221. }
  2222. // -----------------------------------------------------------------------------------------------------------
  2223. template <> size_t GenericFill<IfcBuildingStorey>(const DB& db, const LIST& params, IfcBuildingStorey* in)
  2224. {
  2225. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  2226. // this data structure is not used yet, so there is no code generated to fill its members
  2227. return base;
  2228. }
  2229. // -----------------------------------------------------------------------------------------------------------
  2230. template <> size_t GenericFill<IfcVertex>(const DB& db, const LIST& params, IfcVertex* in)
  2231. {
  2232. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  2233. // this data structure is not used yet, so there is no code generated to fill its members
  2234. return base;
  2235. }
  2236. // -----------------------------------------------------------------------------------------------------------
  2237. template <> size_t GenericFill<IfcVertexPoint>(const DB& db, const LIST& params, IfcVertexPoint* in)
  2238. {
  2239. size_t base = GenericFill(db,params,static_cast<IfcVertex*>(in));
  2240. // this data structure is not used yet, so there is no code generated to fill its members
  2241. return base;
  2242. }
  2243. // -----------------------------------------------------------------------------------------------------------
  2244. template <> size_t GenericFill<IfcFlowInstrumentType>(const DB& db, const LIST& params, IfcFlowInstrumentType* in)
  2245. {
  2246. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  2247. // this data structure is not used yet, so there is no code generated to fill its members
  2248. return base;
  2249. }
  2250. // -----------------------------------------------------------------------------------------------------------
  2251. template <> size_t GenericFill<IfcUShapeProfileDef>(const DB& db, const LIST& params, IfcUShapeProfileDef* in)
  2252. {
  2253. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2254. // this data structure is not used yet, so there is no code generated to fill its members
  2255. return base;
  2256. }
  2257. // -----------------------------------------------------------------------------------------------------------
  2258. template <> size_t GenericFill<IfcRamp>(const DB& db, const LIST& params, IfcRamp* in)
  2259. {
  2260. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2261. // this data structure is not used yet, so there is no code generated to fill its members
  2262. return base;
  2263. }
  2264. // -----------------------------------------------------------------------------------------------------------
  2265. template <> size_t GenericFill<IfcCompositeCurve>(const DB& db, const LIST& params, IfcCompositeCurve* in)
  2266. {
  2267. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  2268. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcCompositeCurve"); } do { // convert the 'Segments' argument
  2269. boost::shared_ptr<const DataType> arg = params[base++];
  2270. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCompositeCurve,2>::aux_is_derived[0]=true; break; }
  2271. try { GenericConvert( in->Segments, arg, db ); break; }
  2272. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCompositeCurve to be a `LIST [1:?] OF IfcCompositeCurveSegment`")); }
  2273. } while(0);
  2274. do { // convert the 'SelfIntersect' argument
  2275. boost::shared_ptr<const DataType> arg = params[base++];
  2276. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCompositeCurve,2>::aux_is_derived[1]=true; break; }
  2277. try { GenericConvert( in->SelfIntersect, arg, db ); break; }
  2278. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCompositeCurve to be a `LOGICAL`")); }
  2279. } while(0);
  2280. return base;
  2281. }
  2282. // -----------------------------------------------------------------------------------------------------------
  2283. template <> size_t GenericFill<IfcStructuralCurveMemberVarying>(const DB& db, const LIST& params, IfcStructuralCurveMemberVarying* in)
  2284. {
  2285. size_t base = GenericFill(db,params,static_cast<IfcStructuralCurveMember*>(in));
  2286. // this data structure is not used yet, so there is no code generated to fill its members
  2287. return base;
  2288. }
  2289. // -----------------------------------------------------------------------------------------------------------
  2290. template <> size_t GenericFill<IfcRampFlightType>(const DB& db, const LIST& params, IfcRampFlightType* in)
  2291. {
  2292. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2293. // this data structure is not used yet, so there is no code generated to fill its members
  2294. return base;
  2295. }
  2296. // -----------------------------------------------------------------------------------------------------------
  2297. template <> size_t GenericFill<IfcDraughtingCallout>(const DB& db, const LIST& params, IfcDraughtingCallout* in)
  2298. {
  2299. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2300. // this data structure is not used yet, so there is no code generated to fill its members
  2301. return base;
  2302. }
  2303. // -----------------------------------------------------------------------------------------------------------
  2304. template <> size_t GenericFill<IfcDimensionCurveDirectedCallout>(const DB& db, const LIST& params, IfcDimensionCurveDirectedCallout* in)
  2305. {
  2306. size_t base = GenericFill(db,params,static_cast<IfcDraughtingCallout*>(in));
  2307. // this data structure is not used yet, so there is no code generated to fill its members
  2308. return base;
  2309. }
  2310. // -----------------------------------------------------------------------------------------------------------
  2311. template <> size_t GenericFill<IfcRadiusDimension>(const DB& db, const LIST& params, IfcRadiusDimension* in)
  2312. {
  2313. size_t base = GenericFill(db,params,static_cast<IfcDimensionCurveDirectedCallout*>(in));
  2314. // this data structure is not used yet, so there is no code generated to fill its members
  2315. return base;
  2316. }
  2317. // -----------------------------------------------------------------------------------------------------------
  2318. template <> size_t GenericFill<IfcEdgeFeature>(const DB& db, const LIST& params, IfcEdgeFeature* in)
  2319. {
  2320. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementSubtraction*>(in));
  2321. // this data structure is not used yet, so there is no code generated to fill its members
  2322. return base;
  2323. }
  2324. // -----------------------------------------------------------------------------------------------------------
  2325. template <> size_t GenericFill<IfcSweptAreaSolid>(const DB& db, const LIST& params, IfcSweptAreaSolid* in)
  2326. {
  2327. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  2328. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcSweptAreaSolid"); } do { // convert the 'SweptArea' argument
  2329. boost::shared_ptr<const DataType> arg = params[base++];
  2330. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptAreaSolid,2>::aux_is_derived[0]=true; break; }
  2331. try { GenericConvert( in->SweptArea, arg, db ); break; }
  2332. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSweptAreaSolid to be a `IfcProfileDef`")); }
  2333. } while(0);
  2334. do { // convert the 'Position' argument
  2335. boost::shared_ptr<const DataType> arg = params[base++];
  2336. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptAreaSolid,2>::aux_is_derived[1]=true; break; }
  2337. try { GenericConvert( in->Position, arg, db ); break; }
  2338. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSweptAreaSolid to be a `IfcAxis2Placement3D`")); }
  2339. } while(0);
  2340. return base;
  2341. }
  2342. // -----------------------------------------------------------------------------------------------------------
  2343. template <> size_t GenericFill<IfcExtrudedAreaSolid>(const DB& db, const LIST& params, IfcExtrudedAreaSolid* in)
  2344. {
  2345. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  2346. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcExtrudedAreaSolid"); } do { // convert the 'ExtrudedDirection' argument
  2347. boost::shared_ptr<const DataType> arg = params[base++];
  2348. try { GenericConvert( in->ExtrudedDirection, arg, db ); break; }
  2349. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcExtrudedAreaSolid to be a `IfcDirection`")); }
  2350. } while(0);
  2351. do { // convert the 'Depth' argument
  2352. boost::shared_ptr<const DataType> arg = params[base++];
  2353. try { GenericConvert( in->Depth, arg, db ); break; }
  2354. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcExtrudedAreaSolid to be a `IfcPositiveLengthMeasure`")); }
  2355. } while(0);
  2356. return base;
  2357. }
  2358. // -----------------------------------------------------------------------------------------------------------
  2359. template <> size_t GenericFill<IfcAnnotationTextOccurrence>(const DB& db, const LIST& params, IfcAnnotationTextOccurrence* in)
  2360. {
  2361. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  2362. // this data structure is not used yet, so there is no code generated to fill its members
  2363. return base;
  2364. }
  2365. // -----------------------------------------------------------------------------------------------------------
  2366. template <> size_t GenericFill<IfcStair>(const DB& db, const LIST& params, IfcStair* in)
  2367. {
  2368. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2369. // this data structure is not used yet, so there is no code generated to fill its members
  2370. return base;
  2371. }
  2372. // -----------------------------------------------------------------------------------------------------------
  2373. template <> size_t GenericFill<IfcFillAreaStyleTileSymbolWithStyle>(const DB& db, const LIST& params, IfcFillAreaStyleTileSymbolWithStyle* in)
  2374. {
  2375. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2376. // this data structure is not used yet, so there is no code generated to fill its members
  2377. return base;
  2378. }
  2379. // -----------------------------------------------------------------------------------------------------------
  2380. template <> size_t GenericFill<IfcAnnotationSymbolOccurrence>(const DB& db, const LIST& params, IfcAnnotationSymbolOccurrence* in)
  2381. {
  2382. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  2383. // this data structure is not used yet, so there is no code generated to fill its members
  2384. return base;
  2385. }
  2386. // -----------------------------------------------------------------------------------------------------------
  2387. template <> size_t GenericFill<IfcTerminatorSymbol>(const DB& db, const LIST& params, IfcTerminatorSymbol* in)
  2388. {
  2389. size_t base = GenericFill(db,params,static_cast<IfcAnnotationSymbolOccurrence*>(in));
  2390. // this data structure is not used yet, so there is no code generated to fill its members
  2391. return base;
  2392. }
  2393. // -----------------------------------------------------------------------------------------------------------
  2394. template <> size_t GenericFill<IfcDimensionCurveTerminator>(const DB& db, const LIST& params, IfcDimensionCurveTerminator* in)
  2395. {
  2396. size_t base = GenericFill(db,params,static_cast<IfcTerminatorSymbol*>(in));
  2397. // this data structure is not used yet, so there is no code generated to fill its members
  2398. return base;
  2399. }
  2400. // -----------------------------------------------------------------------------------------------------------
  2401. template <> size_t GenericFill<IfcRectangleProfileDef>(const DB& db, const LIST& params, IfcRectangleProfileDef* in)
  2402. {
  2403. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2404. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcRectangleProfileDef"); } do { // convert the 'XDim' argument
  2405. boost::shared_ptr<const DataType> arg = params[base++];
  2406. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRectangleProfileDef,2>::aux_is_derived[0]=true; break; }
  2407. try { GenericConvert( in->XDim, arg, db ); break; }
  2408. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRectangleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  2409. } while(0);
  2410. do { // convert the 'YDim' argument
  2411. boost::shared_ptr<const DataType> arg = params[base++];
  2412. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRectangleProfileDef,2>::aux_is_derived[1]=true; break; }
  2413. try { GenericConvert( in->YDim, arg, db ); break; }
  2414. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRectangleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  2415. } while(0);
  2416. return base;
  2417. }
  2418. // -----------------------------------------------------------------------------------------------------------
  2419. template <> size_t GenericFill<IfcRectangleHollowProfileDef>(const DB& db, const LIST& params, IfcRectangleHollowProfileDef* in)
  2420. {
  2421. size_t base = GenericFill(db,params,static_cast<IfcRectangleProfileDef*>(in));
  2422. // this data structure is not used yet, so there is no code generated to fill its members
  2423. return base;
  2424. }
  2425. // -----------------------------------------------------------------------------------------------------------
  2426. template <> size_t GenericFill<IfcLocalPlacement>(const DB& db, const LIST& params, IfcLocalPlacement* in)
  2427. {
  2428. size_t base = GenericFill(db,params,static_cast<IfcObjectPlacement*>(in));
  2429. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcLocalPlacement"); } do { // convert the 'PlacementRelTo' argument
  2430. boost::shared_ptr<const DataType> arg = params[base++];
  2431. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2432. try { GenericConvert( in->PlacementRelTo, arg, db ); break; }
  2433. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcLocalPlacement to be a `IfcObjectPlacement`")); }
  2434. } while(0);
  2435. do { // convert the 'RelativePlacement' argument
  2436. boost::shared_ptr<const DataType> arg = params[base++];
  2437. try { GenericConvert( in->RelativePlacement, arg, db ); break; }
  2438. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcLocalPlacement to be a `IfcAxis2Placement`")); }
  2439. } while(0);
  2440. return base;
  2441. }
  2442. // -----------------------------------------------------------------------------------------------------------
  2443. template <> size_t GenericFill<IfcTask>(const DB& db, const LIST& params, IfcTask* in)
  2444. {
  2445. size_t base = GenericFill(db,params,static_cast<IfcProcess*>(in));
  2446. // this data structure is not used yet, so there is no code generated to fill its members
  2447. return base;
  2448. }
  2449. // -----------------------------------------------------------------------------------------------------------
  2450. template <> size_t GenericFill<IfcAnnotationFillAreaOccurrence>(const DB& db, const LIST& params, IfcAnnotationFillAreaOccurrence* in)
  2451. {
  2452. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  2453. // this data structure is not used yet, so there is no code generated to fill its members
  2454. return base;
  2455. }
  2456. // -----------------------------------------------------------------------------------------------------------
  2457. template <> size_t GenericFill<IfcFace>(const DB& db, const LIST& params, IfcFace* in)
  2458. {
  2459. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  2460. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcFace"); } do { // convert the 'Bounds' argument
  2461. boost::shared_ptr<const DataType> arg = params[base++];
  2462. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFace,1>::aux_is_derived[0]=true; break; }
  2463. try { GenericConvert( in->Bounds, arg, db ); break; }
  2464. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFace to be a `SET [1:?] OF IfcFaceBound`")); }
  2465. } while(0);
  2466. return base;
  2467. }
  2468. // -----------------------------------------------------------------------------------------------------------
  2469. template <> size_t GenericFill<IfcFlowSegmentType>(const DB& db, const LIST& params, IfcFlowSegmentType* in)
  2470. {
  2471. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  2472. // this data structure is not used yet, so there is no code generated to fill its members
  2473. return base;
  2474. }
  2475. // -----------------------------------------------------------------------------------------------------------
  2476. template <> size_t GenericFill<IfcDuctSegmentType>(const DB& db, const LIST& params, IfcDuctSegmentType* in)
  2477. {
  2478. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  2479. // this data structure is not used yet, so there is no code generated to fill its members
  2480. return base;
  2481. }
  2482. // -----------------------------------------------------------------------------------------------------------
  2483. template <> size_t GenericFill<IfcConstructionResource>(const DB& db, const LIST& params, IfcConstructionResource* in)
  2484. {
  2485. size_t base = GenericFill(db,params,static_cast<IfcResource*>(in));
  2486. // this data structure is not used yet, so there is no code generated to fill its members
  2487. return base;
  2488. }
  2489. // -----------------------------------------------------------------------------------------------------------
  2490. template <> size_t GenericFill<IfcConstructionEquipmentResource>(const DB& db, const LIST& params, IfcConstructionEquipmentResource* in)
  2491. {
  2492. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2493. // this data structure is not used yet, so there is no code generated to fill its members
  2494. return base;
  2495. }
  2496. // -----------------------------------------------------------------------------------------------------------
  2497. template <> size_t GenericFill<IfcSanitaryTerminalType>(const DB& db, const LIST& params, IfcSanitaryTerminalType* in)
  2498. {
  2499. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  2500. // this data structure is not used yet, so there is no code generated to fill its members
  2501. return base;
  2502. }
  2503. // -----------------------------------------------------------------------------------------------------------
  2504. template <> size_t GenericFill<IfcCircleProfileDef>(const DB& db, const LIST& params, IfcCircleProfileDef* in)
  2505. {
  2506. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2507. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcCircleProfileDef"); } do { // convert the 'Radius' argument
  2508. boost::shared_ptr<const DataType> arg = params[base++];
  2509. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCircleProfileDef,1>::aux_is_derived[0]=true; break; }
  2510. try { GenericConvert( in->Radius, arg, db ); break; }
  2511. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcCircleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  2512. } while(0);
  2513. return base;
  2514. }
  2515. // -----------------------------------------------------------------------------------------------------------
  2516. template <> size_t GenericFill<IfcStructuralReaction>(const DB& db, const LIST& params, IfcStructuralReaction* in)
  2517. {
  2518. size_t base = GenericFill(db,params,static_cast<IfcStructuralActivity*>(in));
  2519. // this data structure is not used yet, so there is no code generated to fill its members
  2520. return base;
  2521. }
  2522. // -----------------------------------------------------------------------------------------------------------
  2523. template <> size_t GenericFill<IfcStructuralPointReaction>(const DB& db, const LIST& params, IfcStructuralPointReaction* in)
  2524. {
  2525. size_t base = GenericFill(db,params,static_cast<IfcStructuralReaction*>(in));
  2526. // this data structure is not used yet, so there is no code generated to fill its members
  2527. return base;
  2528. }
  2529. // -----------------------------------------------------------------------------------------------------------
  2530. template <> size_t GenericFill<IfcRailing>(const DB& db, const LIST& params, IfcRailing* in)
  2531. {
  2532. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2533. // this data structure is not used yet, so there is no code generated to fill its members
  2534. return base;
  2535. }
  2536. // -----------------------------------------------------------------------------------------------------------
  2537. template <> size_t GenericFill<IfcTextLiteral>(const DB& db, const LIST& params, IfcTextLiteral* in)
  2538. {
  2539. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2540. // this data structure is not used yet, so there is no code generated to fill its members
  2541. return base;
  2542. }
  2543. // -----------------------------------------------------------------------------------------------------------
  2544. template <> size_t GenericFill<IfcCartesianTransformationOperator>(const DB& db, const LIST& params, IfcCartesianTransformationOperator* in)
  2545. {
  2546. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2547. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcCartesianTransformationOperator"); } do { // convert the 'Axis1' argument
  2548. boost::shared_ptr<const DataType> arg = params[base++];
  2549. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[0]=true; break; }
  2550. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2551. try { GenericConvert( in->Axis1, arg, db ); break; }
  2552. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCartesianTransformationOperator to be a `IfcDirection`")); }
  2553. } while(0);
  2554. do { // convert the 'Axis2' argument
  2555. boost::shared_ptr<const DataType> arg = params[base++];
  2556. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[1]=true; break; }
  2557. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2558. try { GenericConvert( in->Axis2, arg, db ); break; }
  2559. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCartesianTransformationOperator to be a `IfcDirection`")); }
  2560. } while(0);
  2561. do { // convert the 'LocalOrigin' argument
  2562. boost::shared_ptr<const DataType> arg = params[base++];
  2563. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[2]=true; break; }
  2564. try { GenericConvert( in->LocalOrigin, arg, db ); break; }
  2565. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcCartesianTransformationOperator to be a `IfcCartesianPoint`")); }
  2566. } while(0);
  2567. do { // convert the 'Scale' argument
  2568. boost::shared_ptr<const DataType> arg = params[base++];
  2569. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[3]=true; break; }
  2570. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2571. try { GenericConvert( in->Scale, arg, db ); break; }
  2572. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcCartesianTransformationOperator to be a `REAL`")); }
  2573. } while(0);
  2574. return base;
  2575. }
  2576. // -----------------------------------------------------------------------------------------------------------
  2577. template <> size_t GenericFill<IfcLinearDimension>(const DB& db, const LIST& params, IfcLinearDimension* in)
  2578. {
  2579. size_t base = GenericFill(db,params,static_cast<IfcDimensionCurveDirectedCallout*>(in));
  2580. // this data structure is not used yet, so there is no code generated to fill its members
  2581. return base;
  2582. }
  2583. // -----------------------------------------------------------------------------------------------------------
  2584. template <> size_t GenericFill<IfcDamperType>(const DB& db, const LIST& params, IfcDamperType* in)
  2585. {
  2586. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  2587. // this data structure is not used yet, so there is no code generated to fill its members
  2588. return base;
  2589. }
  2590. // -----------------------------------------------------------------------------------------------------------
  2591. template <> size_t GenericFill<IfcSIUnit>(const DB& db, const LIST& params, IfcSIUnit* in)
  2592. {
  2593. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(in));
  2594. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcSIUnit"); } do { // convert the 'Prefix' argument
  2595. boost::shared_ptr<const DataType> arg = params[base++];
  2596. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2597. try { GenericConvert( in->Prefix, arg, db ); break; }
  2598. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSIUnit to be a `IfcSIPrefix`")); }
  2599. } while(0);
  2600. do { // convert the 'Name' argument
  2601. boost::shared_ptr<const DataType> arg = params[base++];
  2602. try { GenericConvert( in->Name, arg, db ); break; }
  2603. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcSIUnit to be a `IfcSIUnitName`")); }
  2604. } while(0);
  2605. return base;
  2606. }
  2607. // -----------------------------------------------------------------------------------------------------------
  2608. template <> size_t GenericFill<IfcMeasureWithUnit>(const DB& db, const LIST& params, IfcMeasureWithUnit* in)
  2609. {
  2610. size_t base = 0;
  2611. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcMeasureWithUnit"); } do { // convert the 'ValueComponent' argument
  2612. boost::shared_ptr<const DataType> arg = params[base++];
  2613. try { GenericConvert( in->ValueComponent, arg, db ); break; }
  2614. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcMeasureWithUnit to be a `IfcValue`")); }
  2615. } while(0);
  2616. do { // convert the 'UnitComponent' argument
  2617. boost::shared_ptr<const DataType> arg = params[base++];
  2618. try { GenericConvert( in->UnitComponent, arg, db ); break; }
  2619. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcMeasureWithUnit to be a `IfcUnit`")); }
  2620. } while(0);
  2621. return base;
  2622. }
  2623. // -----------------------------------------------------------------------------------------------------------
  2624. template <> size_t GenericFill<IfcDistributionElement>(const DB& db, const LIST& params, IfcDistributionElement* in)
  2625. {
  2626. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  2627. // this data structure is not used yet, so there is no code generated to fill its members
  2628. return base;
  2629. }
  2630. // -----------------------------------------------------------------------------------------------------------
  2631. template <> size_t GenericFill<IfcDistributionControlElement>(const DB& db, const LIST& params, IfcDistributionControlElement* in)
  2632. {
  2633. size_t base = GenericFill(db,params,static_cast<IfcDistributionElement*>(in));
  2634. // this data structure is not used yet, so there is no code generated to fill its members
  2635. return base;
  2636. }
  2637. // -----------------------------------------------------------------------------------------------------------
  2638. template <> size_t GenericFill<IfcTransformerType>(const DB& db, const LIST& params, IfcTransformerType* in)
  2639. {
  2640. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2641. // this data structure is not used yet, so there is no code generated to fill its members
  2642. return base;
  2643. }
  2644. // -----------------------------------------------------------------------------------------------------------
  2645. template <> size_t GenericFill<IfcLaborResource>(const DB& db, const LIST& params, IfcLaborResource* in)
  2646. {
  2647. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2648. // this data structure is not used yet, so there is no code generated to fill its members
  2649. return base;
  2650. }
  2651. // -----------------------------------------------------------------------------------------------------------
  2652. template <> size_t GenericFill<IfcDerivedProfileDef>(const DB& db, const LIST& params, IfcDerivedProfileDef* in)
  2653. {
  2654. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  2655. // this data structure is not used yet, so there is no code generated to fill its members
  2656. return base;
  2657. }
  2658. // -----------------------------------------------------------------------------------------------------------
  2659. template <> size_t GenericFill<IfcFurnitureStandard>(const DB& db, const LIST& params, IfcFurnitureStandard* in)
  2660. {
  2661. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2662. // this data structure is not used yet, so there is no code generated to fill its members
  2663. return base;
  2664. }
  2665. // -----------------------------------------------------------------------------------------------------------
  2666. template <> size_t GenericFill<IfcStairFlightType>(const DB& db, const LIST& params, IfcStairFlightType* in)
  2667. {
  2668. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2669. // this data structure is not used yet, so there is no code generated to fill its members
  2670. return base;
  2671. }
  2672. // -----------------------------------------------------------------------------------------------------------
  2673. template <> size_t GenericFill<IfcWorkControl>(const DB& db, const LIST& params, IfcWorkControl* in)
  2674. {
  2675. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2676. // this data structure is not used yet, so there is no code generated to fill its members
  2677. return base;
  2678. }
  2679. // -----------------------------------------------------------------------------------------------------------
  2680. template <> size_t GenericFill<IfcWorkPlan>(const DB& db, const LIST& params, IfcWorkPlan* in)
  2681. {
  2682. size_t base = GenericFill(db,params,static_cast<IfcWorkControl*>(in));
  2683. // this data structure is not used yet, so there is no code generated to fill its members
  2684. return base;
  2685. }
  2686. // -----------------------------------------------------------------------------------------------------------
  2687. template <> size_t GenericFill<IfcCondition>(const DB& db, const LIST& params, IfcCondition* in)
  2688. {
  2689. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  2690. // this data structure is not used yet, so there is no code generated to fill its members
  2691. return base;
  2692. }
  2693. // -----------------------------------------------------------------------------------------------------------
  2694. template <> size_t GenericFill<IfcRelVoidsElement>(const DB& db, const LIST& params, IfcRelVoidsElement* in)
  2695. {
  2696. size_t base = GenericFill(db,params,static_cast<IfcRelConnects*>(in));
  2697. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelVoidsElement"); } do { // convert the 'RelatingBuildingElement' argument
  2698. boost::shared_ptr<const DataType> arg = params[base++];
  2699. try { GenericConvert( in->RelatingBuildingElement, arg, db ); break; }
  2700. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelVoidsElement to be a `IfcElement`")); }
  2701. } while(0);
  2702. do { // convert the 'RelatedOpeningElement' argument
  2703. boost::shared_ptr<const DataType> arg = params[base++];
  2704. try { GenericConvert( in->RelatedOpeningElement, arg, db ); break; }
  2705. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelVoidsElement to be a `IfcFeatureElementSubtraction`")); }
  2706. } while(0);
  2707. return base;
  2708. }
  2709. // -----------------------------------------------------------------------------------------------------------
  2710. template <> size_t GenericFill<IfcWindow>(const DB& db, const LIST& params, IfcWindow* in)
  2711. {
  2712. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2713. // this data structure is not used yet, so there is no code generated to fill its members
  2714. return base;
  2715. }
  2716. // -----------------------------------------------------------------------------------------------------------
  2717. template <> size_t GenericFill<IfcProtectiveDeviceType>(const DB& db, const LIST& params, IfcProtectiveDeviceType* in)
  2718. {
  2719. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  2720. // this data structure is not used yet, so there is no code generated to fill its members
  2721. return base;
  2722. }
  2723. // -----------------------------------------------------------------------------------------------------------
  2724. template <> size_t GenericFill<IfcJunctionBoxType>(const DB& db, const LIST& params, IfcJunctionBoxType* in)
  2725. {
  2726. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  2727. // this data structure is not used yet, so there is no code generated to fill its members
  2728. return base;
  2729. }
  2730. // -----------------------------------------------------------------------------------------------------------
  2731. template <> size_t GenericFill<IfcStructuralAnalysisModel>(const DB& db, const LIST& params, IfcStructuralAnalysisModel* in)
  2732. {
  2733. size_t base = GenericFill(db,params,static_cast<IfcSystem*>(in));
  2734. // this data structure is not used yet, so there is no code generated to fill its members
  2735. return base;
  2736. }
  2737. // -----------------------------------------------------------------------------------------------------------
  2738. template <> size_t GenericFill<IfcAxis2Placement2D>(const DB& db, const LIST& params, IfcAxis2Placement2D* in)
  2739. {
  2740. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  2741. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcAxis2Placement2D"); } do { // convert the 'RefDirection' argument
  2742. boost::shared_ptr<const DataType> arg = params[base++];
  2743. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2744. try { GenericConvert( in->RefDirection, arg, db ); break; }
  2745. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis2Placement2D to be a `IfcDirection`")); }
  2746. } while(0);
  2747. return base;
  2748. }
  2749. // -----------------------------------------------------------------------------------------------------------
  2750. template <> size_t GenericFill<IfcSpaceType>(const DB& db, const LIST& params, IfcSpaceType* in)
  2751. {
  2752. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElementType*>(in));
  2753. // this data structure is not used yet, so there is no code generated to fill its members
  2754. return base;
  2755. }
  2756. // -----------------------------------------------------------------------------------------------------------
  2757. template <> size_t GenericFill<IfcEllipseProfileDef>(const DB& db, const LIST& params, IfcEllipseProfileDef* in)
  2758. {
  2759. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2760. // this data structure is not used yet, so there is no code generated to fill its members
  2761. return base;
  2762. }
  2763. // -----------------------------------------------------------------------------------------------------------
  2764. template <> size_t GenericFill<IfcDistributionFlowElement>(const DB& db, const LIST& params, IfcDistributionFlowElement* in)
  2765. {
  2766. size_t base = GenericFill(db,params,static_cast<IfcDistributionElement*>(in));
  2767. // this data structure is not used yet, so there is no code generated to fill its members
  2768. return base;
  2769. }
  2770. // -----------------------------------------------------------------------------------------------------------
  2771. template <> size_t GenericFill<IfcFlowMovingDevice>(const DB& db, const LIST& params, IfcFlowMovingDevice* in)
  2772. {
  2773. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  2774. // this data structure is not used yet, so there is no code generated to fill its members
  2775. return base;
  2776. }
  2777. // -----------------------------------------------------------------------------------------------------------
  2778. template <> size_t GenericFill<IfcSurfaceStyleWithTextures>(const DB& db, const LIST& params, IfcSurfaceStyleWithTextures* in)
  2779. {
  2780. size_t base = 0;
  2781. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcSurfaceStyleWithTextures"); } do { // convert the 'Textures' argument
  2782. boost::shared_ptr<const DataType> arg = params[base++];
  2783. try { GenericConvert( in->Textures, arg, db ); break; }
  2784. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSurfaceStyleWithTextures to be a `LIST [1:?] OF IfcSurfaceTexture`")); }
  2785. } while(0);
  2786. return base;
  2787. }
  2788. // -----------------------------------------------------------------------------------------------------------
  2789. template <> size_t GenericFill<IfcGeometricSet>(const DB& db, const LIST& params, IfcGeometricSet* in)
  2790. {
  2791. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2792. // this data structure is not used yet, so there is no code generated to fill its members
  2793. return base;
  2794. }
  2795. // -----------------------------------------------------------------------------------------------------------
  2796. template <> size_t GenericFill<IfcProjectOrder>(const DB& db, const LIST& params, IfcProjectOrder* in)
  2797. {
  2798. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2799. // this data structure is not used yet, so there is no code generated to fill its members
  2800. return base;
  2801. }
  2802. // -----------------------------------------------------------------------------------------------------------
  2803. template <> size_t GenericFill<IfcBSplineCurve>(const DB& db, const LIST& params, IfcBSplineCurve* in)
  2804. {
  2805. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  2806. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcBSplineCurve"); } do { // convert the 'Degree' argument
  2807. boost::shared_ptr<const DataType> arg = params[base++];
  2808. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[0]=true; break; }
  2809. try { GenericConvert( in->Degree, arg, db ); break; }
  2810. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcBSplineCurve to be a `INTEGER`")); }
  2811. } while(0);
  2812. do { // convert the 'ControlPointsList' argument
  2813. boost::shared_ptr<const DataType> arg = params[base++];
  2814. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[1]=true; break; }
  2815. try { GenericConvert( in->ControlPointsList, arg, db ); break; }
  2816. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcBSplineCurve to be a `LIST [2:?] OF IfcCartesianPoint`")); }
  2817. } while(0);
  2818. do { // convert the 'CurveForm' argument
  2819. boost::shared_ptr<const DataType> arg = params[base++];
  2820. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[2]=true; break; }
  2821. try { GenericConvert( in->CurveForm, arg, db ); break; }
  2822. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcBSplineCurve to be a `IfcBSplineCurveForm`")); }
  2823. } while(0);
  2824. do { // convert the 'ClosedCurve' argument
  2825. boost::shared_ptr<const DataType> arg = params[base++];
  2826. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[3]=true; break; }
  2827. try { GenericConvert( in->ClosedCurve, arg, db ); break; }
  2828. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcBSplineCurve to be a `LOGICAL`")); }
  2829. } while(0);
  2830. do { // convert the 'SelfIntersect' argument
  2831. boost::shared_ptr<const DataType> arg = params[base++];
  2832. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[4]=true; break; }
  2833. try { GenericConvert( in->SelfIntersect, arg, db ); break; }
  2834. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcBSplineCurve to be a `LOGICAL`")); }
  2835. } while(0);
  2836. return base;
  2837. }
  2838. // -----------------------------------------------------------------------------------------------------------
  2839. template <> size_t GenericFill<IfcBezierCurve>(const DB& db, const LIST& params, IfcBezierCurve* in)
  2840. {
  2841. size_t base = GenericFill(db,params,static_cast<IfcBSplineCurve*>(in));
  2842. // this data structure is not used yet, so there is no code generated to fill its members
  2843. return base;
  2844. }
  2845. // -----------------------------------------------------------------------------------------------------------
  2846. template <> size_t GenericFill<IfcStructuralPointConnection>(const DB& db, const LIST& params, IfcStructuralPointConnection* in)
  2847. {
  2848. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  2849. // this data structure is not used yet, so there is no code generated to fill its members
  2850. return base;
  2851. }
  2852. // -----------------------------------------------------------------------------------------------------------
  2853. template <> size_t GenericFill<IfcFlowController>(const DB& db, const LIST& params, IfcFlowController* in)
  2854. {
  2855. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  2856. // this data structure is not used yet, so there is no code generated to fill its members
  2857. return base;
  2858. }
  2859. // -----------------------------------------------------------------------------------------------------------
  2860. template <> size_t GenericFill<IfcElectricDistributionPoint>(const DB& db, const LIST& params, IfcElectricDistributionPoint* in)
  2861. {
  2862. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  2863. // this data structure is not used yet, so there is no code generated to fill its members
  2864. return base;
  2865. }
  2866. // -----------------------------------------------------------------------------------------------------------
  2867. template <> size_t GenericFill<IfcSite>(const DB& db, const LIST& params, IfcSite* in)
  2868. {
  2869. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  2870. if (params.GetSize() < 14) { throw STEP::TypeError("expected 14 arguments to IfcSite"); } do { // convert the 'RefLatitude' argument
  2871. boost::shared_ptr<const DataType> arg = params[base++];
  2872. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2873. try { GenericConvert( in->RefLatitude, arg, db ); break; }
  2874. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcSite to be a `IfcCompoundPlaneAngleMeasure`")); }
  2875. } while(0);
  2876. do { // convert the 'RefLongitude' argument
  2877. boost::shared_ptr<const DataType> arg = params[base++];
  2878. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2879. try { GenericConvert( in->RefLongitude, arg, db ); break; }
  2880. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcSite to be a `IfcCompoundPlaneAngleMeasure`")); }
  2881. } while(0);
  2882. do { // convert the 'RefElevation' argument
  2883. boost::shared_ptr<const DataType> arg = params[base++];
  2884. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2885. try { GenericConvert( in->RefElevation, arg, db ); break; }
  2886. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 11 to IfcSite to be a `IfcLengthMeasure`")); }
  2887. } while(0);
  2888. do { // convert the 'LandTitleNumber' argument
  2889. boost::shared_ptr<const DataType> arg = params[base++];
  2890. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2891. try { GenericConvert( in->LandTitleNumber, arg, db ); break; }
  2892. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 12 to IfcSite to be a `IfcLabel`")); }
  2893. } while(0);
  2894. do { // convert the 'SiteAddress' argument
  2895. boost::shared_ptr<const DataType> arg = params[base++];
  2896. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2897. try { GenericConvert( in->SiteAddress, arg, db ); break; }
  2898. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 13 to IfcSite to be a `IfcPostalAddress`")); }
  2899. } while(0);
  2900. return base;
  2901. }
  2902. // -----------------------------------------------------------------------------------------------------------
  2903. template <> size_t GenericFill<IfcOffsetCurve3D>(const DB& db, const LIST& params, IfcOffsetCurve3D* in)
  2904. {
  2905. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  2906. // this data structure is not used yet, so there is no code generated to fill its members
  2907. return base;
  2908. }
  2909. // -----------------------------------------------------------------------------------------------------------
  2910. template <> size_t GenericFill<IfcVirtualElement>(const DB& db, const LIST& params, IfcVirtualElement* in)
  2911. {
  2912. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  2913. // this data structure is not used yet, so there is no code generated to fill its members
  2914. return base;
  2915. }
  2916. // -----------------------------------------------------------------------------------------------------------
  2917. template <> size_t GenericFill<IfcConstructionProductResource>(const DB& db, const LIST& params, IfcConstructionProductResource* in)
  2918. {
  2919. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2920. // this data structure is not used yet, so there is no code generated to fill its members
  2921. return base;
  2922. }
  2923. // -----------------------------------------------------------------------------------------------------------
  2924. template <> size_t GenericFill<IfcSurfaceCurveSweptAreaSolid>(const DB& db, const LIST& params, IfcSurfaceCurveSweptAreaSolid* in)
  2925. {
  2926. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  2927. // this data structure is not used yet, so there is no code generated to fill its members
  2928. return base;
  2929. }
  2930. // -----------------------------------------------------------------------------------------------------------
  2931. template <> size_t GenericFill<IfcCartesianTransformationOperator3D>(const DB& db, const LIST& params, IfcCartesianTransformationOperator3D* in)
  2932. {
  2933. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator*>(in));
  2934. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcCartesianTransformationOperator3D"); } do { // convert the 'Axis3' argument
  2935. boost::shared_ptr<const DataType> arg = params[base++];
  2936. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator3D,1>::aux_is_derived[0]=true; break; }
  2937. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2938. try { GenericConvert( in->Axis3, arg, db ); break; }
  2939. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcCartesianTransformationOperator3D to be a `IfcDirection`")); }
  2940. } while(0);
  2941. return base;
  2942. }
  2943. // -----------------------------------------------------------------------------------------------------------
  2944. template <> size_t GenericFill<IfcCartesianTransformationOperator3DnonUniform>(const DB& db, const LIST& params, IfcCartesianTransformationOperator3DnonUniform* in)
  2945. {
  2946. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator3D*>(in));
  2947. if (params.GetSize() < 7) { throw STEP::TypeError("expected 7 arguments to IfcCartesianTransformationOperator3DnonUniform"); } do { // convert the 'Scale2' argument
  2948. boost::shared_ptr<const DataType> arg = params[base++];
  2949. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2950. try { GenericConvert( in->Scale2, arg, db ); break; }
  2951. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcCartesianTransformationOperator3DnonUniform to be a `REAL`")); }
  2952. } while(0);
  2953. do { // convert the 'Scale3' argument
  2954. boost::shared_ptr<const DataType> arg = params[base++];
  2955. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2956. try { GenericConvert( in->Scale3, arg, db ); break; }
  2957. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcCartesianTransformationOperator3DnonUniform to be a `REAL`")); }
  2958. } while(0);
  2959. return base;
  2960. }
  2961. // -----------------------------------------------------------------------------------------------------------
  2962. template <> size_t GenericFill<IfcCrewResource>(const DB& db, const LIST& params, IfcCrewResource* in)
  2963. {
  2964. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2965. // this data structure is not used yet, so there is no code generated to fill its members
  2966. return base;
  2967. }
  2968. // -----------------------------------------------------------------------------------------------------------
  2969. template <> size_t GenericFill<IfcStructuralSurfaceMember>(const DB& db, const LIST& params, IfcStructuralSurfaceMember* in)
  2970. {
  2971. size_t base = GenericFill(db,params,static_cast<IfcStructuralMember*>(in));
  2972. // this data structure is not used yet, so there is no code generated to fill its members
  2973. return base;
  2974. }
  2975. // -----------------------------------------------------------------------------------------------------------
  2976. template <> size_t GenericFill<Ifc2DCompositeCurve>(const DB& db, const LIST& params, Ifc2DCompositeCurve* in)
  2977. {
  2978. size_t base = GenericFill(db,params,static_cast<IfcCompositeCurve*>(in));
  2979. // this data structure is not used yet, so there is no code generated to fill its members
  2980. return base;
  2981. }
  2982. // -----------------------------------------------------------------------------------------------------------
  2983. template <> size_t GenericFill<IfcRepresentationContext>(const DB& db, const LIST& params, IfcRepresentationContext* in)
  2984. {
  2985. size_t base = 0;
  2986. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcRepresentationContext"); } do { // convert the 'ContextIdentifier' argument
  2987. boost::shared_ptr<const DataType> arg = params[base++];
  2988. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentationContext,2>::aux_is_derived[0]=true; break; }
  2989. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2990. try { GenericConvert( in->ContextIdentifier, arg, db ); break; }
  2991. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentationContext to be a `IfcLabel`")); }
  2992. } while(0);
  2993. do { // convert the 'ContextType' argument
  2994. boost::shared_ptr<const DataType> arg = params[base++];
  2995. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentationContext,2>::aux_is_derived[1]=true; break; }
  2996. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2997. try { GenericConvert( in->ContextType, arg, db ); break; }
  2998. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentationContext to be a `IfcLabel`")); }
  2999. } while(0);
  3000. return base;
  3001. }
  3002. // -----------------------------------------------------------------------------------------------------------
  3003. template <> size_t GenericFill<IfcGeometricRepresentationContext>(const DB& db, const LIST& params, IfcGeometricRepresentationContext* in)
  3004. {
  3005. size_t base = GenericFill(db,params,static_cast<IfcRepresentationContext*>(in));
  3006. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcGeometricRepresentationContext"); } do { // convert the 'CoordinateSpaceDimension' argument
  3007. boost::shared_ptr<const DataType> arg = params[base++];
  3008. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[0]=true; break; }
  3009. try { GenericConvert( in->CoordinateSpaceDimension, arg, db ); break; }
  3010. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcGeometricRepresentationContext to be a `IfcDimensionCount`")); }
  3011. } while(0);
  3012. do { // convert the 'Precision' argument
  3013. boost::shared_ptr<const DataType> arg = params[base++];
  3014. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[1]=true; break; }
  3015. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3016. try { GenericConvert( in->Precision, arg, db ); break; }
  3017. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcGeometricRepresentationContext to be a `REAL`")); }
  3018. } while(0);
  3019. do { // convert the 'WorldCoordinateSystem' argument
  3020. boost::shared_ptr<const DataType> arg = params[base++];
  3021. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[2]=true; break; }
  3022. try { GenericConvert( in->WorldCoordinateSystem, arg, db ); break; }
  3023. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcGeometricRepresentationContext to be a `IfcAxis2Placement`")); }
  3024. } while(0);
  3025. do { // convert the 'TrueNorth' argument
  3026. boost::shared_ptr<const DataType> arg = params[base++];
  3027. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[3]=true; break; }
  3028. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3029. try { GenericConvert( in->TrueNorth, arg, db ); break; }
  3030. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcGeometricRepresentationContext to be a `IfcDirection`")); }
  3031. } while(0);
  3032. return base;
  3033. }
  3034. // -----------------------------------------------------------------------------------------------------------
  3035. template <> size_t GenericFill<IfcFlowTreatmentDevice>(const DB& db, const LIST& params, IfcFlowTreatmentDevice* in)
  3036. {
  3037. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  3038. // this data structure is not used yet, so there is no code generated to fill its members
  3039. return base;
  3040. }
  3041. // -----------------------------------------------------------------------------------------------------------
  3042. template <> size_t GenericFill<IfcRightCircularCylinder>(const DB& db, const LIST& params, IfcRightCircularCylinder* in)
  3043. {
  3044. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  3045. // this data structure is not used yet, so there is no code generated to fill its members
  3046. return base;
  3047. }
  3048. // -----------------------------------------------------------------------------------------------------------
  3049. template <> size_t GenericFill<IfcWasteTerminalType>(const DB& db, const LIST& params, IfcWasteTerminalType* in)
  3050. {
  3051. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3052. // this data structure is not used yet, so there is no code generated to fill its members
  3053. return base;
  3054. }
  3055. // -----------------------------------------------------------------------------------------------------------
  3056. template <> size_t GenericFill<IfcBuildingElementComponent>(const DB& db, const LIST& params, IfcBuildingElementComponent* in)
  3057. {
  3058. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3059. // this data structure is not used yet, so there is no code generated to fill its members
  3060. return base;
  3061. }
  3062. // -----------------------------------------------------------------------------------------------------------
  3063. template <> size_t GenericFill<IfcBuildingElementPart>(const DB& db, const LIST& params, IfcBuildingElementPart* in)
  3064. {
  3065. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementComponent*>(in));
  3066. // this data structure is not used yet, so there is no code generated to fill its members
  3067. return base;
  3068. }
  3069. // -----------------------------------------------------------------------------------------------------------
  3070. template <> size_t GenericFill<IfcWall>(const DB& db, const LIST& params, IfcWall* in)
  3071. {
  3072. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3073. // this data structure is not used yet, so there is no code generated to fill its members
  3074. return base;
  3075. }
  3076. // -----------------------------------------------------------------------------------------------------------
  3077. template <> size_t GenericFill<IfcWallStandardCase>(const DB& db, const LIST& params, IfcWallStandardCase* in)
  3078. {
  3079. size_t base = GenericFill(db,params,static_cast<IfcWall*>(in));
  3080. // this data structure is not used yet, so there is no code generated to fill its members
  3081. return base;
  3082. }
  3083. // -----------------------------------------------------------------------------------------------------------
  3084. template <> size_t GenericFill<IfcPath>(const DB& db, const LIST& params, IfcPath* in)
  3085. {
  3086. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  3087. // this data structure is not used yet, so there is no code generated to fill its members
  3088. return base;
  3089. }
  3090. // -----------------------------------------------------------------------------------------------------------
  3091. template <> size_t GenericFill<IfcDefinedSymbol>(const DB& db, const LIST& params, IfcDefinedSymbol* in)
  3092. {
  3093. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3094. // this data structure is not used yet, so there is no code generated to fill its members
  3095. return base;
  3096. }
  3097. // -----------------------------------------------------------------------------------------------------------
  3098. template <> size_t GenericFill<IfcStructuralSurfaceMemberVarying>(const DB& db, const LIST& params, IfcStructuralSurfaceMemberVarying* in)
  3099. {
  3100. size_t base = GenericFill(db,params,static_cast<IfcStructuralSurfaceMember*>(in));
  3101. // this data structure is not used yet, so there is no code generated to fill its members
  3102. return base;
  3103. }
  3104. // -----------------------------------------------------------------------------------------------------------
  3105. template <> size_t GenericFill<IfcPoint>(const DB& db, const LIST& params, IfcPoint* in)
  3106. {
  3107. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3108. return base;
  3109. }
  3110. // -----------------------------------------------------------------------------------------------------------
  3111. template <> size_t GenericFill<IfcSurfaceOfRevolution>(const DB& db, const LIST& params, IfcSurfaceOfRevolution* in)
  3112. {
  3113. size_t base = GenericFill(db,params,static_cast<IfcSweptSurface*>(in));
  3114. // this data structure is not used yet, so there is no code generated to fill its members
  3115. return base;
  3116. }
  3117. // -----------------------------------------------------------------------------------------------------------
  3118. template <> size_t GenericFill<IfcFlowTerminal>(const DB& db, const LIST& params, IfcFlowTerminal* in)
  3119. {
  3120. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  3121. // this data structure is not used yet, so there is no code generated to fill its members
  3122. return base;
  3123. }
  3124. // -----------------------------------------------------------------------------------------------------------
  3125. template <> size_t GenericFill<IfcFurnishingElement>(const DB& db, const LIST& params, IfcFurnishingElement* in)
  3126. {
  3127. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  3128. // this data structure is not used yet, so there is no code generated to fill its members
  3129. return base;
  3130. }
  3131. // -----------------------------------------------------------------------------------------------------------
  3132. template <> size_t GenericFill<IfcSurfaceStyleShading>(const DB& db, const LIST& params, IfcSurfaceStyleShading* in)
  3133. {
  3134. size_t base = 0;
  3135. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcSurfaceStyleShading"); } do { // convert the 'SurfaceColour' argument
  3136. boost::shared_ptr<const DataType> arg = params[base++];
  3137. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSurfaceStyleShading,1>::aux_is_derived[0]=true; break; }
  3138. try { GenericConvert( in->SurfaceColour, arg, db ); break; }
  3139. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSurfaceStyleShading to be a `IfcColourRgb`")); }
  3140. } while(0);
  3141. return base;
  3142. }
  3143. // -----------------------------------------------------------------------------------------------------------
  3144. template <> size_t GenericFill<IfcSurfaceStyleRendering>(const DB& db, const LIST& params, IfcSurfaceStyleRendering* in)
  3145. {
  3146. size_t base = GenericFill(db,params,static_cast<IfcSurfaceStyleShading*>(in));
  3147. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcSurfaceStyleRendering"); } do { // convert the 'Transparency' argument
  3148. boost::shared_ptr<const DataType> arg = params[base++];
  3149. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3150. try { GenericConvert( in->Transparency, arg, db ); break; }
  3151. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSurfaceStyleRendering to be a `IfcNormalisedRatioMeasure`")); }
  3152. } while(0);
  3153. do { // convert the 'DiffuseColour' argument
  3154. boost::shared_ptr<const DataType> arg = params[base++];
  3155. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3156. try { GenericConvert( in->DiffuseColour, arg, db ); break; }
  3157. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  3158. } while(0);
  3159. do { // convert the 'TransmissionColour' argument
  3160. boost::shared_ptr<const DataType> arg = params[base++];
  3161. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3162. try { GenericConvert( in->TransmissionColour, arg, db ); break; }
  3163. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  3164. } while(0);
  3165. do { // convert the 'DiffuseTransmissionColour' argument
  3166. boost::shared_ptr<const DataType> arg = params[base++];
  3167. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3168. try { GenericConvert( in->DiffuseTransmissionColour, arg, db ); break; }
  3169. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  3170. } while(0);
  3171. do { // convert the 'ReflectionColour' argument
  3172. boost::shared_ptr<const DataType> arg = params[base++];
  3173. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3174. try { GenericConvert( in->ReflectionColour, arg, db ); break; }
  3175. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  3176. } while(0);
  3177. do { // convert the 'SpecularColour' argument
  3178. boost::shared_ptr<const DataType> arg = params[base++];
  3179. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3180. try { GenericConvert( in->SpecularColour, arg, db ); break; }
  3181. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  3182. } while(0);
  3183. do { // convert the 'SpecularHighlight' argument
  3184. boost::shared_ptr<const DataType> arg = params[base++];
  3185. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3186. try { GenericConvert( in->SpecularHighlight, arg, db ); break; }
  3187. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcSurfaceStyleRendering to be a `IfcSpecularHighlightSelect`")); }
  3188. } while(0);
  3189. do { // convert the 'ReflectanceMethod' argument
  3190. boost::shared_ptr<const DataType> arg = params[base++];
  3191. try { GenericConvert( in->ReflectanceMethod, arg, db ); break; }
  3192. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcSurfaceStyleRendering to be a `IfcReflectanceMethodEnum`")); }
  3193. } while(0);
  3194. return base;
  3195. }
  3196. // -----------------------------------------------------------------------------------------------------------
  3197. template <> size_t GenericFill<IfcCircleHollowProfileDef>(const DB& db, const LIST& params, IfcCircleHollowProfileDef* in)
  3198. {
  3199. size_t base = GenericFill(db,params,static_cast<IfcCircleProfileDef*>(in));
  3200. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcCircleHollowProfileDef"); } do { // convert the 'WallThickness' argument
  3201. boost::shared_ptr<const DataType> arg = params[base++];
  3202. try { GenericConvert( in->WallThickness, arg, db ); break; }
  3203. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcCircleHollowProfileDef to be a `IfcPositiveLengthMeasure`")); }
  3204. } while(0);
  3205. return base;
  3206. }
  3207. // -----------------------------------------------------------------------------------------------------------
  3208. template <> size_t GenericFill<IfcFlowMovingDeviceType>(const DB& db, const LIST& params, IfcFlowMovingDeviceType* in)
  3209. {
  3210. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  3211. // this data structure is not used yet, so there is no code generated to fill its members
  3212. return base;
  3213. }
  3214. // -----------------------------------------------------------------------------------------------------------
  3215. template <> size_t GenericFill<IfcFanType>(const DB& db, const LIST& params, IfcFanType* in)
  3216. {
  3217. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  3218. // this data structure is not used yet, so there is no code generated to fill its members
  3219. return base;
  3220. }
  3221. // -----------------------------------------------------------------------------------------------------------
  3222. template <> size_t GenericFill<IfcStructuralPlanarActionVarying>(const DB& db, const LIST& params, IfcStructuralPlanarActionVarying* in)
  3223. {
  3224. size_t base = GenericFill(db,params,static_cast<IfcStructuralPlanarAction*>(in));
  3225. // this data structure is not used yet, so there is no code generated to fill its members
  3226. return base;
  3227. }
  3228. // -----------------------------------------------------------------------------------------------------------
  3229. template <> size_t GenericFill<IfcProductRepresentation>(const DB& db, const LIST& params, IfcProductRepresentation* in)
  3230. {
  3231. size_t base = 0;
  3232. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcProductRepresentation"); } do { // convert the 'Name' argument
  3233. boost::shared_ptr<const DataType> arg = params[base++];
  3234. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[0]=true; break; }
  3235. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3236. try { GenericConvert( in->Name, arg, db ); break; }
  3237. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcProductRepresentation to be a `IfcLabel`")); }
  3238. } while(0);
  3239. do { // convert the 'Description' argument
  3240. boost::shared_ptr<const DataType> arg = params[base++];
  3241. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[1]=true; break; }
  3242. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3243. try { GenericConvert( in->Description, arg, db ); break; }
  3244. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcProductRepresentation to be a `IfcText`")); }
  3245. } while(0);
  3246. do { // convert the 'Representations' argument
  3247. boost::shared_ptr<const DataType> arg = params[base++];
  3248. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[2]=true; break; }
  3249. try { GenericConvert( in->Representations, arg, db ); break; }
  3250. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcProductRepresentation to be a `LIST [1:?] OF IfcRepresentation`")); }
  3251. } while(0);
  3252. return base;
  3253. }
  3254. // -----------------------------------------------------------------------------------------------------------
  3255. template <> size_t GenericFill<IfcStackTerminalType>(const DB& db, const LIST& params, IfcStackTerminalType* in)
  3256. {
  3257. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3258. // this data structure is not used yet, so there is no code generated to fill its members
  3259. return base;
  3260. }
  3261. // -----------------------------------------------------------------------------------------------------------
  3262. template <> size_t GenericFill<IfcReinforcingElement>(const DB& db, const LIST& params, IfcReinforcingElement* in)
  3263. {
  3264. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementComponent*>(in));
  3265. // this data structure is not used yet, so there is no code generated to fill its members
  3266. return base;
  3267. }
  3268. // -----------------------------------------------------------------------------------------------------------
  3269. template <> size_t GenericFill<IfcReinforcingMesh>(const DB& db, const LIST& params, IfcReinforcingMesh* in)
  3270. {
  3271. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  3272. // this data structure is not used yet, so there is no code generated to fill its members
  3273. return base;
  3274. }
  3275. // -----------------------------------------------------------------------------------------------------------
  3276. template <> size_t GenericFill<IfcOrderAction>(const DB& db, const LIST& params, IfcOrderAction* in)
  3277. {
  3278. size_t base = GenericFill(db,params,static_cast<IfcTask*>(in));
  3279. // this data structure is not used yet, so there is no code generated to fill its members
  3280. return base;
  3281. }
  3282. // -----------------------------------------------------------------------------------------------------------
  3283. template <> size_t GenericFill<IfcLightSource>(const DB& db, const LIST& params, IfcLightSource* in)
  3284. {
  3285. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3286. // this data structure is not used yet, so there is no code generated to fill its members
  3287. return base;
  3288. }
  3289. // -----------------------------------------------------------------------------------------------------------
  3290. template <> size_t GenericFill<IfcLightSourceDirectional>(const DB& db, const LIST& params, IfcLightSourceDirectional* in)
  3291. {
  3292. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  3293. // this data structure is not used yet, so there is no code generated to fill its members
  3294. return base;
  3295. }
  3296. // -----------------------------------------------------------------------------------------------------------
  3297. template <> size_t GenericFill<IfcLoop>(const DB& db, const LIST& params, IfcLoop* in)
  3298. {
  3299. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  3300. return base;
  3301. }
  3302. // -----------------------------------------------------------------------------------------------------------
  3303. template <> size_t GenericFill<IfcVertexLoop>(const DB& db, const LIST& params, IfcVertexLoop* in)
  3304. {
  3305. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  3306. // this data structure is not used yet, so there is no code generated to fill its members
  3307. return base;
  3308. }
  3309. // -----------------------------------------------------------------------------------------------------------
  3310. template <> size_t GenericFill<IfcChamferEdgeFeature>(const DB& db, const LIST& params, IfcChamferEdgeFeature* in)
  3311. {
  3312. size_t base = GenericFill(db,params,static_cast<IfcEdgeFeature*>(in));
  3313. // this data structure is not used yet, so there is no code generated to fill its members
  3314. return base;
  3315. }
  3316. // -----------------------------------------------------------------------------------------------------------
  3317. template <> size_t GenericFill<IfcElementComponentType>(const DB& db, const LIST& params, IfcElementComponentType* in)
  3318. {
  3319. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  3320. // this data structure is not used yet, so there is no code generated to fill its members
  3321. return base;
  3322. }
  3323. // -----------------------------------------------------------------------------------------------------------
  3324. template <> size_t GenericFill<IfcFastenerType>(const DB& db, const LIST& params, IfcFastenerType* in)
  3325. {
  3326. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  3327. // this data structure is not used yet, so there is no code generated to fill its members
  3328. return base;
  3329. }
  3330. // -----------------------------------------------------------------------------------------------------------
  3331. template <> size_t GenericFill<IfcMechanicalFastenerType>(const DB& db, const LIST& params, IfcMechanicalFastenerType* in)
  3332. {
  3333. size_t base = GenericFill(db,params,static_cast<IfcFastenerType*>(in));
  3334. // this data structure is not used yet, so there is no code generated to fill its members
  3335. return base;
  3336. }
  3337. // -----------------------------------------------------------------------------------------------------------
  3338. template <> size_t GenericFill<IfcScheduleTimeControl>(const DB& db, const LIST& params, IfcScheduleTimeControl* in)
  3339. {
  3340. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  3341. // this data structure is not used yet, so there is no code generated to fill its members
  3342. return base;
  3343. }
  3344. // -----------------------------------------------------------------------------------------------------------
  3345. template <> size_t GenericFill<IfcSurfaceStyle>(const DB& db, const LIST& params, IfcSurfaceStyle* in)
  3346. {
  3347. size_t base = GenericFill(db,params,static_cast<IfcPresentationStyle*>(in));
  3348. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcSurfaceStyle"); } do { // convert the 'Side' argument
  3349. boost::shared_ptr<const DataType> arg = params[base++];
  3350. try { GenericConvert( in->Side, arg, db ); break; }
  3351. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSurfaceStyle to be a `IfcSurfaceSide`")); }
  3352. } while(0);
  3353. do { // convert the 'Styles' argument
  3354. boost::shared_ptr<const DataType> arg = params[base++];
  3355. try { GenericConvert( in->Styles, arg, db ); break; }
  3356. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSurfaceStyle to be a `SET [1:5] OF IfcSurfaceStyleElementSelect`")); }
  3357. } while(0);
  3358. return base;
  3359. }
  3360. // -----------------------------------------------------------------------------------------------------------
  3361. template <> size_t GenericFill<IfcOpenShell>(const DB& db, const LIST& params, IfcOpenShell* in)
  3362. {
  3363. size_t base = GenericFill(db,params,static_cast<IfcConnectedFaceSet*>(in));
  3364. // this data structure is not used yet, so there is no code generated to fill its members
  3365. return base;
  3366. }
  3367. // -----------------------------------------------------------------------------------------------------------
  3368. template <> size_t GenericFill<IfcSubContractResource>(const DB& db, const LIST& params, IfcSubContractResource* in)
  3369. {
  3370. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  3371. // this data structure is not used yet, so there is no code generated to fill its members
  3372. return base;
  3373. }
  3374. // -----------------------------------------------------------------------------------------------------------
  3375. template <> size_t GenericFill<IfcSweptDiskSolid>(const DB& db, const LIST& params, IfcSweptDiskSolid* in)
  3376. {
  3377. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  3378. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcSweptDiskSolid"); } do { // convert the 'Directrix' argument
  3379. boost::shared_ptr<const DataType> arg = params[base++];
  3380. try { GenericConvert( in->Directrix, arg, db ); break; }
  3381. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSweptDiskSolid to be a `IfcCurve`")); }
  3382. } while(0);
  3383. do { // convert the 'Radius' argument
  3384. boost::shared_ptr<const DataType> arg = params[base++];
  3385. try { GenericConvert( in->Radius, arg, db ); break; }
  3386. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSweptDiskSolid to be a `IfcPositiveLengthMeasure`")); }
  3387. } while(0);
  3388. do { // convert the 'InnerRadius' argument
  3389. boost::shared_ptr<const DataType> arg = params[base++];
  3390. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3391. try { GenericConvert( in->InnerRadius, arg, db ); break; }
  3392. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSweptDiskSolid to be a `IfcPositiveLengthMeasure`")); }
  3393. } while(0);
  3394. do { // convert the 'StartParam' argument
  3395. boost::shared_ptr<const DataType> arg = params[base++];
  3396. try { GenericConvert( in->StartParam, arg, db ); break; }
  3397. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcSweptDiskSolid to be a `IfcParameterValue`")); }
  3398. } while(0);
  3399. do { // convert the 'EndParam' argument
  3400. boost::shared_ptr<const DataType> arg = params[base++];
  3401. try { GenericConvert( in->EndParam, arg, db ); break; }
  3402. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcSweptDiskSolid to be a `IfcParameterValue`")); }
  3403. } while(0);
  3404. return base;
  3405. }
  3406. // -----------------------------------------------------------------------------------------------------------
  3407. template <> size_t GenericFill<IfcCompositeProfileDef>(const DB& db, const LIST& params, IfcCompositeProfileDef* in)
  3408. {
  3409. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  3410. // this data structure is not used yet, so there is no code generated to fill its members
  3411. return base;
  3412. }
  3413. // -----------------------------------------------------------------------------------------------------------
  3414. template <> size_t GenericFill<IfcTankType>(const DB& db, const LIST& params, IfcTankType* in)
  3415. {
  3416. size_t base = GenericFill(db,params,static_cast<IfcFlowStorageDeviceType*>(in));
  3417. // this data structure is not used yet, so there is no code generated to fill its members
  3418. return base;
  3419. }
  3420. // -----------------------------------------------------------------------------------------------------------
  3421. template <> size_t GenericFill<IfcSphere>(const DB& db, const LIST& params, IfcSphere* in)
  3422. {
  3423. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  3424. // this data structure is not used yet, so there is no code generated to fill its members
  3425. return base;
  3426. }
  3427. // -----------------------------------------------------------------------------------------------------------
  3428. template <> size_t GenericFill<IfcPolyLoop>(const DB& db, const LIST& params, IfcPolyLoop* in)
  3429. {
  3430. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  3431. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPolyLoop"); } do { // convert the 'Polygon' argument
  3432. boost::shared_ptr<const DataType> arg = params[base++];
  3433. try { GenericConvert( in->Polygon, arg, db ); break; }
  3434. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPolyLoop to be a `LIST [3:?] OF IfcCartesianPoint`")); }
  3435. } while(0);
  3436. return base;
  3437. }
  3438. // -----------------------------------------------------------------------------------------------------------
  3439. template <> size_t GenericFill<IfcCableCarrierFittingType>(const DB& db, const LIST& params, IfcCableCarrierFittingType* in)
  3440. {
  3441. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  3442. // this data structure is not used yet, so there is no code generated to fill its members
  3443. return base;
  3444. }
  3445. // -----------------------------------------------------------------------------------------------------------
  3446. template <> size_t GenericFill<IfcHumidifierType>(const DB& db, const LIST& params, IfcHumidifierType* in)
  3447. {
  3448. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3449. // this data structure is not used yet, so there is no code generated to fill its members
  3450. return base;
  3451. }
  3452. // -----------------------------------------------------------------------------------------------------------
  3453. template <> size_t GenericFill<IfcPerformanceHistory>(const DB& db, const LIST& params, IfcPerformanceHistory* in)
  3454. {
  3455. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  3456. // this data structure is not used yet, so there is no code generated to fill its members
  3457. return base;
  3458. }
  3459. // -----------------------------------------------------------------------------------------------------------
  3460. template <> size_t GenericFill<IfcShapeModel>(const DB& db, const LIST& params, IfcShapeModel* in)
  3461. {
  3462. size_t base = GenericFill(db,params,static_cast<IfcRepresentation*>(in));
  3463. // this data structure is not used yet, so there is no code generated to fill its members
  3464. return base;
  3465. }
  3466. // -----------------------------------------------------------------------------------------------------------
  3467. template <> size_t GenericFill<IfcTopologyRepresentation>(const DB& db, const LIST& params, IfcTopologyRepresentation* in)
  3468. {
  3469. size_t base = GenericFill(db,params,static_cast<IfcShapeModel*>(in));
  3470. // this data structure is not used yet, so there is no code generated to fill its members
  3471. return base;
  3472. }
  3473. // -----------------------------------------------------------------------------------------------------------
  3474. template <> size_t GenericFill<IfcBuilding>(const DB& db, const LIST& params, IfcBuilding* in)
  3475. {
  3476. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  3477. if (params.GetSize() < 12) { throw STEP::TypeError("expected 12 arguments to IfcBuilding"); } do { // convert the 'ElevationOfRefHeight' argument
  3478. boost::shared_ptr<const DataType> arg = params[base++];
  3479. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3480. try { GenericConvert( in->ElevationOfRefHeight, arg, db ); break; }
  3481. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcBuilding to be a `IfcLengthMeasure`")); }
  3482. } while(0);
  3483. do { // convert the 'ElevationOfTerrain' argument
  3484. boost::shared_ptr<const DataType> arg = params[base++];
  3485. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3486. try { GenericConvert( in->ElevationOfTerrain, arg, db ); break; }
  3487. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcBuilding to be a `IfcLengthMeasure`")); }
  3488. } while(0);
  3489. do { // convert the 'BuildingAddress' argument
  3490. boost::shared_ptr<const DataType> arg = params[base++];
  3491. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3492. try { GenericConvert( in->BuildingAddress, arg, db ); break; }
  3493. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 11 to IfcBuilding to be a `IfcPostalAddress`")); }
  3494. } while(0);
  3495. return base;
  3496. }
  3497. // -----------------------------------------------------------------------------------------------------------
  3498. template <> size_t GenericFill<IfcRoundedRectangleProfileDef>(const DB& db, const LIST& params, IfcRoundedRectangleProfileDef* in)
  3499. {
  3500. size_t base = GenericFill(db,params,static_cast<IfcRectangleProfileDef*>(in));
  3501. // this data structure is not used yet, so there is no code generated to fill its members
  3502. return base;
  3503. }
  3504. // -----------------------------------------------------------------------------------------------------------
  3505. template <> size_t GenericFill<IfcStairFlight>(const DB& db, const LIST& params, IfcStairFlight* in)
  3506. {
  3507. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3508. // this data structure is not used yet, so there is no code generated to fill its members
  3509. return base;
  3510. }
  3511. // -----------------------------------------------------------------------------------------------------------
  3512. template <> size_t GenericFill<IfcDistributionChamberElement>(const DB& db, const LIST& params, IfcDistributionChamberElement* in)
  3513. {
  3514. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  3515. // this data structure is not used yet, so there is no code generated to fill its members
  3516. return base;
  3517. }
  3518. // -----------------------------------------------------------------------------------------------------------
  3519. template <> size_t GenericFill<IfcShapeRepresentation>(const DB& db, const LIST& params, IfcShapeRepresentation* in)
  3520. {
  3521. size_t base = GenericFill(db,params,static_cast<IfcShapeModel*>(in));
  3522. // this data structure is not used yet, so there is no code generated to fill its members
  3523. return base;
  3524. }
  3525. // -----------------------------------------------------------------------------------------------------------
  3526. template <> size_t GenericFill<IfcRampFlight>(const DB& db, const LIST& params, IfcRampFlight* in)
  3527. {
  3528. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3529. // this data structure is not used yet, so there is no code generated to fill its members
  3530. return base;
  3531. }
  3532. // -----------------------------------------------------------------------------------------------------------
  3533. template <> size_t GenericFill<IfcBeamType>(const DB& db, const LIST& params, IfcBeamType* in)
  3534. {
  3535. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3536. // this data structure is not used yet, so there is no code generated to fill its members
  3537. return base;
  3538. }
  3539. // -----------------------------------------------------------------------------------------------------------
  3540. template <> size_t GenericFill<IfcRelDecomposes>(const DB& db, const LIST& params, IfcRelDecomposes* in)
  3541. {
  3542. size_t base = GenericFill(db,params,static_cast<IfcRelationship*>(in));
  3543. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelDecomposes"); } do { // convert the 'RelatingObject' argument
  3544. boost::shared_ptr<const DataType> arg = params[base++];
  3545. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRelDecomposes,2>::aux_is_derived[0]=true; break; }
  3546. try { GenericConvert( in->RelatingObject, arg, db ); break; }
  3547. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelDecomposes to be a `IfcObjectDefinition`")); }
  3548. } while(0);
  3549. do { // convert the 'RelatedObjects' argument
  3550. boost::shared_ptr<const DataType> arg = params[base++];
  3551. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRelDecomposes,2>::aux_is_derived[1]=true; break; }
  3552. try { GenericConvert( in->RelatedObjects, arg, db ); break; }
  3553. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelDecomposes to be a `SET [1:?] OF IfcObjectDefinition`")); }
  3554. } while(0);
  3555. return base;
  3556. }
  3557. // -----------------------------------------------------------------------------------------------------------
  3558. template <> size_t GenericFill<IfcRoof>(const DB& db, const LIST& params, IfcRoof* in)
  3559. {
  3560. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3561. // this data structure is not used yet, so there is no code generated to fill its members
  3562. return base;
  3563. }
  3564. // -----------------------------------------------------------------------------------------------------------
  3565. template <> size_t GenericFill<IfcFooting>(const DB& db, const LIST& params, IfcFooting* in)
  3566. {
  3567. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3568. // this data structure is not used yet, so there is no code generated to fill its members
  3569. return base;
  3570. }
  3571. // -----------------------------------------------------------------------------------------------------------
  3572. template <> size_t GenericFill<IfcLightSourceAmbient>(const DB& db, const LIST& params, IfcLightSourceAmbient* in)
  3573. {
  3574. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  3575. // this data structure is not used yet, so there is no code generated to fill its members
  3576. return base;
  3577. }
  3578. // -----------------------------------------------------------------------------------------------------------
  3579. template <> size_t GenericFill<IfcWindowStyle>(const DB& db, const LIST& params, IfcWindowStyle* in)
  3580. {
  3581. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  3582. // this data structure is not used yet, so there is no code generated to fill its members
  3583. return base;
  3584. }
  3585. // -----------------------------------------------------------------------------------------------------------
  3586. template <> size_t GenericFill<IfcBuildingElementProxyType>(const DB& db, const LIST& params, IfcBuildingElementProxyType* in)
  3587. {
  3588. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3589. // this data structure is not used yet, so there is no code generated to fill its members
  3590. return base;
  3591. }
  3592. // -----------------------------------------------------------------------------------------------------------
  3593. template <> size_t GenericFill<IfcAxis2Placement3D>(const DB& db, const LIST& params, IfcAxis2Placement3D* in)
  3594. {
  3595. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  3596. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcAxis2Placement3D"); } do { // convert the 'Axis' argument
  3597. boost::shared_ptr<const DataType> arg = params[base++];
  3598. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3599. try { GenericConvert( in->Axis, arg, db ); break; }
  3600. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis2Placement3D to be a `IfcDirection`")); }
  3601. } while(0);
  3602. do { // convert the 'RefDirection' argument
  3603. boost::shared_ptr<const DataType> arg = params[base++];
  3604. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3605. try { GenericConvert( in->RefDirection, arg, db ); break; }
  3606. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcAxis2Placement3D to be a `IfcDirection`")); }
  3607. } while(0);
  3608. return base;
  3609. }
  3610. // -----------------------------------------------------------------------------------------------------------
  3611. template <> size_t GenericFill<IfcEdgeCurve>(const DB& db, const LIST& params, IfcEdgeCurve* in)
  3612. {
  3613. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  3614. // this data structure is not used yet, so there is no code generated to fill its members
  3615. return base;
  3616. }
  3617. // -----------------------------------------------------------------------------------------------------------
  3618. template <> size_t GenericFill<IfcClosedShell>(const DB& db, const LIST& params, IfcClosedShell* in)
  3619. {
  3620. size_t base = GenericFill(db,params,static_cast<IfcConnectedFaceSet*>(in));
  3621. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcClosedShell"); } return base;
  3622. }
  3623. // -----------------------------------------------------------------------------------------------------------
  3624. template <> size_t GenericFill<IfcTendonAnchor>(const DB& db, const LIST& params, IfcTendonAnchor* in)
  3625. {
  3626. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  3627. // this data structure is not used yet, so there is no code generated to fill its members
  3628. return base;
  3629. }
  3630. // -----------------------------------------------------------------------------------------------------------
  3631. template <> size_t GenericFill<IfcCondenserType>(const DB& db, const LIST& params, IfcCondenserType* in)
  3632. {
  3633. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3634. // this data structure is not used yet, so there is no code generated to fill its members
  3635. return base;
  3636. }
  3637. // -----------------------------------------------------------------------------------------------------------
  3638. template <> size_t GenericFill<IfcPipeSegmentType>(const DB& db, const LIST& params, IfcPipeSegmentType* in)
  3639. {
  3640. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  3641. // this data structure is not used yet, so there is no code generated to fill its members
  3642. return base;
  3643. }
  3644. // -----------------------------------------------------------------------------------------------------------
  3645. template <> size_t GenericFill<IfcPointOnSurface>(const DB& db, const LIST& params, IfcPointOnSurface* in)
  3646. {
  3647. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  3648. // this data structure is not used yet, so there is no code generated to fill its members
  3649. return base;
  3650. }
  3651. // -----------------------------------------------------------------------------------------------------------
  3652. template <> size_t GenericFill<IfcAsset>(const DB& db, const LIST& params, IfcAsset* in)
  3653. {
  3654. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  3655. // this data structure is not used yet, so there is no code generated to fill its members
  3656. return base;
  3657. }
  3658. // -----------------------------------------------------------------------------------------------------------
  3659. template <> size_t GenericFill<IfcLightSourcePositional>(const DB& db, const LIST& params, IfcLightSourcePositional* in)
  3660. {
  3661. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  3662. // this data structure is not used yet, so there is no code generated to fill its members
  3663. return base;
  3664. }
  3665. // -----------------------------------------------------------------------------------------------------------
  3666. template <> size_t GenericFill<IfcProjectionCurve>(const DB& db, const LIST& params, IfcProjectionCurve* in)
  3667. {
  3668. size_t base = GenericFill(db,params,static_cast<IfcAnnotationCurveOccurrence*>(in));
  3669. // this data structure is not used yet, so there is no code generated to fill its members
  3670. return base;
  3671. }
  3672. // -----------------------------------------------------------------------------------------------------------
  3673. template <> size_t GenericFill<IfcFillAreaStyleTiles>(const DB& db, const LIST& params, IfcFillAreaStyleTiles* in)
  3674. {
  3675. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3676. // this data structure is not used yet, so there is no code generated to fill its members
  3677. return base;
  3678. }
  3679. // -----------------------------------------------------------------------------------------------------------
  3680. template <> size_t GenericFill<IfcRelFillsElement>(const DB& db, const LIST& params, IfcRelFillsElement* in)
  3681. {
  3682. size_t base = GenericFill(db,params,static_cast<IfcRelConnects*>(in));
  3683. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelFillsElement"); } do { // convert the 'RelatingOpeningElement' argument
  3684. boost::shared_ptr<const DataType> arg = params[base++];
  3685. try { GenericConvert( in->RelatingOpeningElement, arg, db ); break; }
  3686. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelFillsElement to be a `IfcOpeningElement`")); }
  3687. } while(0);
  3688. do { // convert the 'RelatedBuildingElement' argument
  3689. boost::shared_ptr<const DataType> arg = params[base++];
  3690. try { GenericConvert( in->RelatedBuildingElement, arg, db ); break; }
  3691. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelFillsElement to be a `IfcElement`")); }
  3692. } while(0);
  3693. return base;
  3694. }
  3695. // -----------------------------------------------------------------------------------------------------------
  3696. template <> size_t GenericFill<IfcElectricMotorType>(const DB& db, const LIST& params, IfcElectricMotorType* in)
  3697. {
  3698. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3699. // this data structure is not used yet, so there is no code generated to fill its members
  3700. return base;
  3701. }
  3702. // -----------------------------------------------------------------------------------------------------------
  3703. template <> size_t GenericFill<IfcTendon>(const DB& db, const LIST& params, IfcTendon* in)
  3704. {
  3705. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  3706. // this data structure is not used yet, so there is no code generated to fill its members
  3707. return base;
  3708. }
  3709. // -----------------------------------------------------------------------------------------------------------
  3710. template <> size_t GenericFill<IfcDistributionChamberElementType>(const DB& db, const LIST& params, IfcDistributionChamberElementType* in)
  3711. {
  3712. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  3713. // this data structure is not used yet, so there is no code generated to fill its members
  3714. return base;
  3715. }
  3716. // -----------------------------------------------------------------------------------------------------------
  3717. template <> size_t GenericFill<IfcMemberType>(const DB& db, const LIST& params, IfcMemberType* in)
  3718. {
  3719. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3720. // this data structure is not used yet, so there is no code generated to fill its members
  3721. return base;
  3722. }
  3723. // -----------------------------------------------------------------------------------------------------------
  3724. template <> size_t GenericFill<IfcStructuralLinearAction>(const DB& db, const LIST& params, IfcStructuralLinearAction* in)
  3725. {
  3726. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  3727. // this data structure is not used yet, so there is no code generated to fill its members
  3728. return base;
  3729. }
  3730. // -----------------------------------------------------------------------------------------------------------
  3731. template <> size_t GenericFill<IfcStructuralLinearActionVarying>(const DB& db, const LIST& params, IfcStructuralLinearActionVarying* in)
  3732. {
  3733. size_t base = GenericFill(db,params,static_cast<IfcStructuralLinearAction*>(in));
  3734. // this data structure is not used yet, so there is no code generated to fill its members
  3735. return base;
  3736. }
  3737. // -----------------------------------------------------------------------------------------------------------
  3738. template <> size_t GenericFill<IfcProductDefinitionShape>(const DB& db, const LIST& params, IfcProductDefinitionShape* in)
  3739. {
  3740. size_t base = GenericFill(db,params,static_cast<IfcProductRepresentation*>(in));
  3741. // this data structure is not used yet, so there is no code generated to fill its members
  3742. return base;
  3743. }
  3744. // -----------------------------------------------------------------------------------------------------------
  3745. template <> size_t GenericFill<IfcFastener>(const DB& db, const LIST& params, IfcFastener* in)
  3746. {
  3747. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  3748. // this data structure is not used yet, so there is no code generated to fill its members
  3749. return base;
  3750. }
  3751. // -----------------------------------------------------------------------------------------------------------
  3752. template <> size_t GenericFill<IfcMechanicalFastener>(const DB& db, const LIST& params, IfcMechanicalFastener* in)
  3753. {
  3754. size_t base = GenericFill(db,params,static_cast<IfcFastener*>(in));
  3755. // this data structure is not used yet, so there is no code generated to fill its members
  3756. return base;
  3757. }
  3758. // -----------------------------------------------------------------------------------------------------------
  3759. template <> size_t GenericFill<IfcEvaporatorType>(const DB& db, const LIST& params, IfcEvaporatorType* in)
  3760. {
  3761. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3762. // this data structure is not used yet, so there is no code generated to fill its members
  3763. return base;
  3764. }
  3765. // -----------------------------------------------------------------------------------------------------------
  3766. template <> size_t GenericFill<IfcDiscreteAccessoryType>(const DB& db, const LIST& params, IfcDiscreteAccessoryType* in)
  3767. {
  3768. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  3769. // this data structure is not used yet, so there is no code generated to fill its members
  3770. return base;
  3771. }
  3772. // -----------------------------------------------------------------------------------------------------------
  3773. template <> size_t GenericFill<IfcStructuralCurveConnection>(const DB& db, const LIST& params, IfcStructuralCurveConnection* in)
  3774. {
  3775. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  3776. // this data structure is not used yet, so there is no code generated to fill its members
  3777. return base;
  3778. }
  3779. // -----------------------------------------------------------------------------------------------------------
  3780. template <> size_t GenericFill<IfcProjectionElement>(const DB& db, const LIST& params, IfcProjectionElement* in)
  3781. {
  3782. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementAddition*>(in));
  3783. // this data structure is not used yet, so there is no code generated to fill its members
  3784. return base;
  3785. }
  3786. // -----------------------------------------------------------------------------------------------------------
  3787. template <> size_t GenericFill<IfcCoveringType>(const DB& db, const LIST& params, IfcCoveringType* in)
  3788. {
  3789. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3790. // this data structure is not used yet, so there is no code generated to fill its members
  3791. return base;
  3792. }
  3793. // -----------------------------------------------------------------------------------------------------------
  3794. template <> size_t GenericFill<IfcPumpType>(const DB& db, const LIST& params, IfcPumpType* in)
  3795. {
  3796. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  3797. // this data structure is not used yet, so there is no code generated to fill its members
  3798. return base;
  3799. }
  3800. // -----------------------------------------------------------------------------------------------------------
  3801. template <> size_t GenericFill<IfcPile>(const DB& db, const LIST& params, IfcPile* in)
  3802. {
  3803. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3804. // this data structure is not used yet, so there is no code generated to fill its members
  3805. return base;
  3806. }
  3807. // -----------------------------------------------------------------------------------------------------------
  3808. template <> size_t GenericFill<IfcUnitAssignment>(const DB& db, const LIST& params, IfcUnitAssignment* in)
  3809. {
  3810. size_t base = 0;
  3811. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcUnitAssignment"); } do { // convert the 'Units' argument
  3812. boost::shared_ptr<const DataType> arg = params[base++];
  3813. try { GenericConvert( in->Units, arg, db ); break; }
  3814. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcUnitAssignment to be a `SET [1:?] OF IfcUnit`")); }
  3815. } while(0);
  3816. return base;
  3817. }
  3818. // -----------------------------------------------------------------------------------------------------------
  3819. template <> size_t GenericFill<IfcBoundingBox>(const DB& db, const LIST& params, IfcBoundingBox* in)
  3820. {
  3821. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3822. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcBoundingBox"); } do { // convert the 'Corner' argument
  3823. boost::shared_ptr<const DataType> arg = params[base++];
  3824. try { GenericConvert( in->Corner, arg, db ); break; }
  3825. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcBoundingBox to be a `IfcCartesianPoint`")); }
  3826. } while(0);
  3827. do { // convert the 'XDim' argument
  3828. boost::shared_ptr<const DataType> arg = params[base++];
  3829. try { GenericConvert( in->XDim, arg, db ); break; }
  3830. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcBoundingBox to be a `IfcPositiveLengthMeasure`")); }
  3831. } while(0);
  3832. do { // convert the 'YDim' argument
  3833. boost::shared_ptr<const DataType> arg = params[base++];
  3834. try { GenericConvert( in->YDim, arg, db ); break; }
  3835. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcBoundingBox to be a `IfcPositiveLengthMeasure`")); }
  3836. } while(0);
  3837. do { // convert the 'ZDim' argument
  3838. boost::shared_ptr<const DataType> arg = params[base++];
  3839. try { GenericConvert( in->ZDim, arg, db ); break; }
  3840. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcBoundingBox to be a `IfcPositiveLengthMeasure`")); }
  3841. } while(0);
  3842. return base;
  3843. }
  3844. // -----------------------------------------------------------------------------------------------------------
  3845. template <> size_t GenericFill<IfcShellBasedSurfaceModel>(const DB& db, const LIST& params, IfcShellBasedSurfaceModel* in)
  3846. {
  3847. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3848. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcShellBasedSurfaceModel"); } do { // convert the 'SbsmBoundary' argument
  3849. boost::shared_ptr<const DataType> arg = params[base++];
  3850. try { GenericConvert( in->SbsmBoundary, arg, db ); break; }
  3851. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcShellBasedSurfaceModel to be a `SET [1:?] OF IfcShell`")); }
  3852. } while(0);
  3853. return base;
  3854. }
  3855. // -----------------------------------------------------------------------------------------------------------
  3856. template <> size_t GenericFill<IfcFacetedBrep>(const DB& db, const LIST& params, IfcFacetedBrep* in)
  3857. {
  3858. size_t base = GenericFill(db,params,static_cast<IfcManifoldSolidBrep*>(in));
  3859. // this data structure is not used yet, so there is no code generated to fill its members
  3860. return base;
  3861. }
  3862. // -----------------------------------------------------------------------------------------------------------
  3863. template <> size_t GenericFill<IfcTextLiteralWithExtent>(const DB& db, const LIST& params, IfcTextLiteralWithExtent* in)
  3864. {
  3865. size_t base = GenericFill(db,params,static_cast<IfcTextLiteral*>(in));
  3866. // this data structure is not used yet, so there is no code generated to fill its members
  3867. return base;
  3868. }
  3869. // -----------------------------------------------------------------------------------------------------------
  3870. template <> size_t GenericFill<IfcElectricApplianceType>(const DB& db, const LIST& params, IfcElectricApplianceType* in)
  3871. {
  3872. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3873. // this data structure is not used yet, so there is no code generated to fill its members
  3874. return base;
  3875. }
  3876. // -----------------------------------------------------------------------------------------------------------
  3877. template <> size_t GenericFill<IfcTrapeziumProfileDef>(const DB& db, const LIST& params, IfcTrapeziumProfileDef* in)
  3878. {
  3879. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  3880. // this data structure is not used yet, so there is no code generated to fill its members
  3881. return base;
  3882. }
  3883. // -----------------------------------------------------------------------------------------------------------
  3884. template <> size_t GenericFill<IfcRelContainedInSpatialStructure>(const DB& db, const LIST& params, IfcRelContainedInSpatialStructure* in)
  3885. {
  3886. size_t base = GenericFill(db,params,static_cast<IfcRelConnects*>(in));
  3887. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelContainedInSpatialStructure"); } do { // convert the 'RelatedElements' argument
  3888. boost::shared_ptr<const DataType> arg = params[base++];
  3889. try { GenericConvert( in->RelatedElements, arg, db ); break; }
  3890. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelContainedInSpatialStructure to be a `SET [1:?] OF IfcProduct`")); }
  3891. } while(0);
  3892. do { // convert the 'RelatingStructure' argument
  3893. boost::shared_ptr<const DataType> arg = params[base++];
  3894. try { GenericConvert( in->RelatingStructure, arg, db ); break; }
  3895. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelContainedInSpatialStructure to be a `IfcSpatialStructureElement`")); }
  3896. } while(0);
  3897. return base;
  3898. }
  3899. // -----------------------------------------------------------------------------------------------------------
  3900. template <> size_t GenericFill<IfcEdgeLoop>(const DB& db, const LIST& params, IfcEdgeLoop* in)
  3901. {
  3902. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  3903. // this data structure is not used yet, so there is no code generated to fill its members
  3904. return base;
  3905. }
  3906. // -----------------------------------------------------------------------------------------------------------
  3907. template <> size_t GenericFill<IfcProject>(const DB& db, const LIST& params, IfcProject* in)
  3908. {
  3909. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  3910. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcProject"); } do { // convert the 'LongName' argument
  3911. boost::shared_ptr<const DataType> arg = params[base++];
  3912. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3913. try { GenericConvert( in->LongName, arg, db ); break; }
  3914. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcProject to be a `IfcLabel`")); }
  3915. } while(0);
  3916. do { // convert the 'Phase' argument
  3917. boost::shared_ptr<const DataType> arg = params[base++];
  3918. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3919. try { GenericConvert( in->Phase, arg, db ); break; }
  3920. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcProject to be a `IfcLabel`")); }
  3921. } while(0);
  3922. do { // convert the 'RepresentationContexts' argument
  3923. boost::shared_ptr<const DataType> arg = params[base++];
  3924. try { GenericConvert( in->RepresentationContexts, arg, db ); break; }
  3925. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcProject to be a `SET [1:?] OF IfcRepresentationContext`")); }
  3926. } while(0);
  3927. do { // convert the 'UnitsInContext' argument
  3928. boost::shared_ptr<const DataType> arg = params[base++];
  3929. try { GenericConvert( in->UnitsInContext, arg, db ); break; }
  3930. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcProject to be a `IfcUnitAssignment`")); }
  3931. } while(0);
  3932. return base;
  3933. }
  3934. // -----------------------------------------------------------------------------------------------------------
  3935. template <> size_t GenericFill<IfcCartesianPoint>(const DB& db, const LIST& params, IfcCartesianPoint* in)
  3936. {
  3937. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  3938. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcCartesianPoint"); } do { // convert the 'Coordinates' argument
  3939. boost::shared_ptr<const DataType> arg = params[base++];
  3940. try { GenericConvert( in->Coordinates, arg, db ); break; }
  3941. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCartesianPoint to be a `LIST [1:3] OF IfcLengthMeasure`")); }
  3942. } while(0);
  3943. return base;
  3944. }
  3945. // -----------------------------------------------------------------------------------------------------------
  3946. template <> size_t GenericFill<IfcCurveBoundedPlane>(const DB& db, const LIST& params, IfcCurveBoundedPlane* in)
  3947. {
  3948. size_t base = GenericFill(db,params,static_cast<IfcBoundedSurface*>(in));
  3949. // this data structure is not used yet, so there is no code generated to fill its members
  3950. return base;
  3951. }
  3952. // -----------------------------------------------------------------------------------------------------------
  3953. template <> size_t GenericFill<IfcWallType>(const DB& db, const LIST& params, IfcWallType* in)
  3954. {
  3955. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3956. // this data structure is not used yet, so there is no code generated to fill its members
  3957. return base;
  3958. }
  3959. // -----------------------------------------------------------------------------------------------------------
  3960. template <> size_t GenericFill<IfcFillAreaStyleHatching>(const DB& db, const LIST& params, IfcFillAreaStyleHatching* in)
  3961. {
  3962. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3963. // this data structure is not used yet, so there is no code generated to fill its members
  3964. return base;
  3965. }
  3966. // -----------------------------------------------------------------------------------------------------------
  3967. template <> size_t GenericFill<IfcEquipmentStandard>(const DB& db, const LIST& params, IfcEquipmentStandard* in)
  3968. {
  3969. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  3970. // this data structure is not used yet, so there is no code generated to fill its members
  3971. return base;
  3972. }
  3973. // -----------------------------------------------------------------------------------------------------------
  3974. template <> size_t GenericFill<IfcDiameterDimension>(const DB& db, const LIST& params, IfcDiameterDimension* in)
  3975. {
  3976. size_t base = GenericFill(db,params,static_cast<IfcDimensionCurveDirectedCallout*>(in));
  3977. // this data structure is not used yet, so there is no code generated to fill its members
  3978. return base;
  3979. }
  3980. // -----------------------------------------------------------------------------------------------------------
  3981. template <> size_t GenericFill<IfcStructuralLoadGroup>(const DB& db, const LIST& params, IfcStructuralLoadGroup* in)
  3982. {
  3983. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  3984. // this data structure is not used yet, so there is no code generated to fill its members
  3985. return base;
  3986. }
  3987. // -----------------------------------------------------------------------------------------------------------
  3988. template <> size_t GenericFill<IfcConstructionMaterialResource>(const DB& db, const LIST& params, IfcConstructionMaterialResource* in)
  3989. {
  3990. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  3991. // this data structure is not used yet, so there is no code generated to fill its members
  3992. return base;
  3993. }
  3994. // -----------------------------------------------------------------------------------------------------------
  3995. template <> size_t GenericFill<IfcRelAggregates>(const DB& db, const LIST& params, IfcRelAggregates* in)
  3996. {
  3997. size_t base = GenericFill(db,params,static_cast<IfcRelDecomposes*>(in));
  3998. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelAggregates"); } return base;
  3999. }
  4000. // -----------------------------------------------------------------------------------------------------------
  4001. template <> size_t GenericFill<IfcBoilerType>(const DB& db, const LIST& params, IfcBoilerType* in)
  4002. {
  4003. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4004. // this data structure is not used yet, so there is no code generated to fill its members
  4005. return base;
  4006. }
  4007. // -----------------------------------------------------------------------------------------------------------
  4008. template <> size_t GenericFill<IfcColourRgb>(const DB& db, const LIST& params, IfcColourRgb* in)
  4009. {
  4010. size_t base = GenericFill(db,params,static_cast<IfcColourSpecification*>(in));
  4011. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcColourRgb"); } do { // convert the 'Red' argument
  4012. boost::shared_ptr<const DataType> arg = params[base++];
  4013. try { GenericConvert( in->Red, arg, db ); break; }
  4014. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  4015. } while(0);
  4016. do { // convert the 'Green' argument
  4017. boost::shared_ptr<const DataType> arg = params[base++];
  4018. try { GenericConvert( in->Green, arg, db ); break; }
  4019. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  4020. } while(0);
  4021. do { // convert the 'Blue' argument
  4022. boost::shared_ptr<const DataType> arg = params[base++];
  4023. try { GenericConvert( in->Blue, arg, db ); break; }
  4024. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  4025. } while(0);
  4026. return base;
  4027. }
  4028. // -----------------------------------------------------------------------------------------------------------
  4029. template <> size_t GenericFill<IfcDoorStyle>(const DB& db, const LIST& params, IfcDoorStyle* in)
  4030. {
  4031. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  4032. // this data structure is not used yet, so there is no code generated to fill its members
  4033. return base;
  4034. }
  4035. // -----------------------------------------------------------------------------------------------------------
  4036. template <> size_t GenericFill<IfcDuctSilencerType>(const DB& db, const LIST& params, IfcDuctSilencerType* in)
  4037. {
  4038. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDeviceType*>(in));
  4039. // this data structure is not used yet, so there is no code generated to fill its members
  4040. return base;
  4041. }
  4042. // -----------------------------------------------------------------------------------------------------------
  4043. template <> size_t GenericFill<IfcLightSourceGoniometric>(const DB& db, const LIST& params, IfcLightSourceGoniometric* in)
  4044. {
  4045. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  4046. // this data structure is not used yet, so there is no code generated to fill its members
  4047. return base;
  4048. }
  4049. // -----------------------------------------------------------------------------------------------------------
  4050. template <> size_t GenericFill<IfcActuatorType>(const DB& db, const LIST& params, IfcActuatorType* in)
  4051. {
  4052. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  4053. // this data structure is not used yet, so there is no code generated to fill its members
  4054. return base;
  4055. }
  4056. // -----------------------------------------------------------------------------------------------------------
  4057. template <> size_t GenericFill<IfcSensorType>(const DB& db, const LIST& params, IfcSensorType* in)
  4058. {
  4059. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  4060. // this data structure is not used yet, so there is no code generated to fill its members
  4061. return base;
  4062. }
  4063. // -----------------------------------------------------------------------------------------------------------
  4064. template <> size_t GenericFill<IfcAirTerminalBoxType>(const DB& db, const LIST& params, IfcAirTerminalBoxType* in)
  4065. {
  4066. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  4067. // this data structure is not used yet, so there is no code generated to fill its members
  4068. return base;
  4069. }
  4070. // -----------------------------------------------------------------------------------------------------------
  4071. template <> size_t GenericFill<IfcAnnotationSurfaceOccurrence>(const DB& db, const LIST& params, IfcAnnotationSurfaceOccurrence* in)
  4072. {
  4073. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  4074. // this data structure is not used yet, so there is no code generated to fill its members
  4075. return base;
  4076. }
  4077. // -----------------------------------------------------------------------------------------------------------
  4078. template <> size_t GenericFill<IfcRationalBezierCurve>(const DB& db, const LIST& params, IfcRationalBezierCurve* in)
  4079. {
  4080. size_t base = GenericFill(db,params,static_cast<IfcBezierCurve*>(in));
  4081. // this data structure is not used yet, so there is no code generated to fill its members
  4082. return base;
  4083. }
  4084. // -----------------------------------------------------------------------------------------------------------
  4085. template <> size_t GenericFill<IfcCartesianTransformationOperator2D>(const DB& db, const LIST& params, IfcCartesianTransformationOperator2D* in)
  4086. {
  4087. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator*>(in));
  4088. // this data structure is not used yet, so there is no code generated to fill its members
  4089. return base;
  4090. }
  4091. // -----------------------------------------------------------------------------------------------------------
  4092. template <> size_t GenericFill<IfcCartesianTransformationOperator2DnonUniform>(const DB& db, const LIST& params, IfcCartesianTransformationOperator2DnonUniform* in)
  4093. {
  4094. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator2D*>(in));
  4095. // this data structure is not used yet, so there is no code generated to fill its members
  4096. return base;
  4097. }
  4098. // -----------------------------------------------------------------------------------------------------------
  4099. template <> size_t GenericFill<IfcMove>(const DB& db, const LIST& params, IfcMove* in)
  4100. {
  4101. size_t base = GenericFill(db,params,static_cast<IfcTask*>(in));
  4102. // this data structure is not used yet, so there is no code generated to fill its members
  4103. return base;
  4104. }
  4105. // -----------------------------------------------------------------------------------------------------------
  4106. template <> size_t GenericFill<IfcCableCarrierSegmentType>(const DB& db, const LIST& params, IfcCableCarrierSegmentType* in)
  4107. {
  4108. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  4109. // this data structure is not used yet, so there is no code generated to fill its members
  4110. return base;
  4111. }
  4112. // -----------------------------------------------------------------------------------------------------------
  4113. template <> size_t GenericFill<IfcElectricalElement>(const DB& db, const LIST& params, IfcElectricalElement* in)
  4114. {
  4115. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  4116. // this data structure is not used yet, so there is no code generated to fill its members
  4117. return base;
  4118. }
  4119. // -----------------------------------------------------------------------------------------------------------
  4120. template <> size_t GenericFill<IfcChillerType>(const DB& db, const LIST& params, IfcChillerType* in)
  4121. {
  4122. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4123. // this data structure is not used yet, so there is no code generated to fill its members
  4124. return base;
  4125. }
  4126. // -----------------------------------------------------------------------------------------------------------
  4127. template <> size_t GenericFill<IfcReinforcingBar>(const DB& db, const LIST& params, IfcReinforcingBar* in)
  4128. {
  4129. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  4130. // this data structure is not used yet, so there is no code generated to fill its members
  4131. return base;
  4132. }
  4133. // -----------------------------------------------------------------------------------------------------------
  4134. template <> size_t GenericFill<IfcCShapeProfileDef>(const DB& db, const LIST& params, IfcCShapeProfileDef* in)
  4135. {
  4136. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4137. // this data structure is not used yet, so there is no code generated to fill its members
  4138. return base;
  4139. }
  4140. // -----------------------------------------------------------------------------------------------------------
  4141. template <> size_t GenericFill<IfcPermit>(const DB& db, const LIST& params, IfcPermit* in)
  4142. {
  4143. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4144. // this data structure is not used yet, so there is no code generated to fill its members
  4145. return base;
  4146. }
  4147. // -----------------------------------------------------------------------------------------------------------
  4148. template <> size_t GenericFill<IfcSlabType>(const DB& db, const LIST& params, IfcSlabType* in)
  4149. {
  4150. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4151. // this data structure is not used yet, so there is no code generated to fill its members
  4152. return base;
  4153. }
  4154. // -----------------------------------------------------------------------------------------------------------
  4155. template <> size_t GenericFill<IfcLampType>(const DB& db, const LIST& params, IfcLampType* in)
  4156. {
  4157. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4158. // this data structure is not used yet, so there is no code generated to fill its members
  4159. return base;
  4160. }
  4161. // -----------------------------------------------------------------------------------------------------------
  4162. template <> size_t GenericFill<IfcPlanarExtent>(const DB& db, const LIST& params, IfcPlanarExtent* in)
  4163. {
  4164. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4165. // this data structure is not used yet, so there is no code generated to fill its members
  4166. return base;
  4167. }
  4168. // -----------------------------------------------------------------------------------------------------------
  4169. template <> size_t GenericFill<IfcAlarmType>(const DB& db, const LIST& params, IfcAlarmType* in)
  4170. {
  4171. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  4172. // this data structure is not used yet, so there is no code generated to fill its members
  4173. return base;
  4174. }
  4175. // -----------------------------------------------------------------------------------------------------------
  4176. template <> size_t GenericFill<IfcElectricFlowStorageDeviceType>(const DB& db, const LIST& params, IfcElectricFlowStorageDeviceType* in)
  4177. {
  4178. size_t base = GenericFill(db,params,static_cast<IfcFlowStorageDeviceType*>(in));
  4179. // this data structure is not used yet, so there is no code generated to fill its members
  4180. return base;
  4181. }
  4182. // -----------------------------------------------------------------------------------------------------------
  4183. template <> size_t GenericFill<IfcEquipmentElement>(const DB& db, const LIST& params, IfcEquipmentElement* in)
  4184. {
  4185. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  4186. // this data structure is not used yet, so there is no code generated to fill its members
  4187. return base;
  4188. }
  4189. // -----------------------------------------------------------------------------------------------------------
  4190. template <> size_t GenericFill<IfcLightFixtureType>(const DB& db, const LIST& params, IfcLightFixtureType* in)
  4191. {
  4192. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4193. // this data structure is not used yet, so there is no code generated to fill its members
  4194. return base;
  4195. }
  4196. // -----------------------------------------------------------------------------------------------------------
  4197. template <> size_t GenericFill<IfcCurtainWall>(const DB& db, const LIST& params, IfcCurtainWall* in)
  4198. {
  4199. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4200. // this data structure is not used yet, so there is no code generated to fill its members
  4201. return base;
  4202. }
  4203. // -----------------------------------------------------------------------------------------------------------
  4204. template <> size_t GenericFill<IfcSlab>(const DB& db, const LIST& params, IfcSlab* in)
  4205. {
  4206. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4207. // this data structure is not used yet, so there is no code generated to fill its members
  4208. return base;
  4209. }
  4210. // -----------------------------------------------------------------------------------------------------------
  4211. template <> size_t GenericFill<IfcCurtainWallType>(const DB& db, const LIST& params, IfcCurtainWallType* in)
  4212. {
  4213. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4214. // this data structure is not used yet, so there is no code generated to fill its members
  4215. return base;
  4216. }
  4217. // -----------------------------------------------------------------------------------------------------------
  4218. template <> size_t GenericFill<IfcOutletType>(const DB& db, const LIST& params, IfcOutletType* in)
  4219. {
  4220. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4221. // this data structure is not used yet, so there is no code generated to fill its members
  4222. return base;
  4223. }
  4224. // -----------------------------------------------------------------------------------------------------------
  4225. template <> size_t GenericFill<IfcCompressorType>(const DB& db, const LIST& params, IfcCompressorType* in)
  4226. {
  4227. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  4228. // this data structure is not used yet, so there is no code generated to fill its members
  4229. return base;
  4230. }
  4231. // -----------------------------------------------------------------------------------------------------------
  4232. template <> size_t GenericFill<IfcCraneRailAShapeProfileDef>(const DB& db, const LIST& params, IfcCraneRailAShapeProfileDef* in)
  4233. {
  4234. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4235. // this data structure is not used yet, so there is no code generated to fill its members
  4236. return base;
  4237. }
  4238. // -----------------------------------------------------------------------------------------------------------
  4239. template <> size_t GenericFill<IfcFlowSegment>(const DB& db, const LIST& params, IfcFlowSegment* in)
  4240. {
  4241. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  4242. // this data structure is not used yet, so there is no code generated to fill its members
  4243. return base;
  4244. }
  4245. // -----------------------------------------------------------------------------------------------------------
  4246. template <> size_t GenericFill<IfcSectionedSpine>(const DB& db, const LIST& params, IfcSectionedSpine* in)
  4247. {
  4248. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4249. // this data structure is not used yet, so there is no code generated to fill its members
  4250. return base;
  4251. }
  4252. // -----------------------------------------------------------------------------------------------------------
  4253. template <> size_t GenericFill<IfcElectricTimeControlType>(const DB& db, const LIST& params, IfcElectricTimeControlType* in)
  4254. {
  4255. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  4256. // this data structure is not used yet, so there is no code generated to fill its members
  4257. return base;
  4258. }
  4259. // -----------------------------------------------------------------------------------------------------------
  4260. template <> size_t GenericFill<IfcFaceSurface>(const DB& db, const LIST& params, IfcFaceSurface* in)
  4261. {
  4262. size_t base = GenericFill(db,params,static_cast<IfcFace*>(in));
  4263. // this data structure is not used yet, so there is no code generated to fill its members
  4264. return base;
  4265. }
  4266. // -----------------------------------------------------------------------------------------------------------
  4267. template <> size_t GenericFill<IfcMotorConnectionType>(const DB& db, const LIST& params, IfcMotorConnectionType* in)
  4268. {
  4269. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4270. // this data structure is not used yet, so there is no code generated to fill its members
  4271. return base;
  4272. }
  4273. // -----------------------------------------------------------------------------------------------------------
  4274. template <> size_t GenericFill<IfcFlowFitting>(const DB& db, const LIST& params, IfcFlowFitting* in)
  4275. {
  4276. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  4277. // this data structure is not used yet, so there is no code generated to fill its members
  4278. return base;
  4279. }
  4280. // -----------------------------------------------------------------------------------------------------------
  4281. template <> size_t GenericFill<IfcPointOnCurve>(const DB& db, const LIST& params, IfcPointOnCurve* in)
  4282. {
  4283. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  4284. // this data structure is not used yet, so there is no code generated to fill its members
  4285. return base;
  4286. }
  4287. // -----------------------------------------------------------------------------------------------------------
  4288. template <> size_t GenericFill<IfcTransportElementType>(const DB& db, const LIST& params, IfcTransportElementType* in)
  4289. {
  4290. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  4291. // this data structure is not used yet, so there is no code generated to fill its members
  4292. return base;
  4293. }
  4294. // -----------------------------------------------------------------------------------------------------------
  4295. template <> size_t GenericFill<IfcCableSegmentType>(const DB& db, const LIST& params, IfcCableSegmentType* in)
  4296. {
  4297. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  4298. // this data structure is not used yet, so there is no code generated to fill its members
  4299. return base;
  4300. }
  4301. // -----------------------------------------------------------------------------------------------------------
  4302. template <> size_t GenericFill<IfcAnnotationSurface>(const DB& db, const LIST& params, IfcAnnotationSurface* in)
  4303. {
  4304. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4305. // this data structure is not used yet, so there is no code generated to fill its members
  4306. return base;
  4307. }
  4308. // -----------------------------------------------------------------------------------------------------------
  4309. template <> size_t GenericFill<IfcCompositeCurveSegment>(const DB& db, const LIST& params, IfcCompositeCurveSegment* in)
  4310. {
  4311. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4312. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcCompositeCurveSegment"); } do { // convert the 'Transition' argument
  4313. boost::shared_ptr<const DataType> arg = params[base++];
  4314. try { GenericConvert( in->Transition, arg, db ); break; }
  4315. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCompositeCurveSegment to be a `IfcTransitionCode`")); }
  4316. } while(0);
  4317. do { // convert the 'SameSense' argument
  4318. boost::shared_ptr<const DataType> arg = params[base++];
  4319. try { GenericConvert( in->SameSense, arg, db ); break; }
  4320. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCompositeCurveSegment to be a `BOOLEAN`")); }
  4321. } while(0);
  4322. do { // convert the 'ParentCurve' argument
  4323. boost::shared_ptr<const DataType> arg = params[base++];
  4324. try { GenericConvert( in->ParentCurve, arg, db ); break; }
  4325. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcCompositeCurveSegment to be a `IfcCurve`")); }
  4326. } while(0);
  4327. return base;
  4328. }
  4329. // -----------------------------------------------------------------------------------------------------------
  4330. template <> size_t GenericFill<IfcServiceLife>(const DB& db, const LIST& params, IfcServiceLife* in)
  4331. {
  4332. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4333. // this data structure is not used yet, so there is no code generated to fill its members
  4334. return base;
  4335. }
  4336. // -----------------------------------------------------------------------------------------------------------
  4337. template <> size_t GenericFill<IfcPlateType>(const DB& db, const LIST& params, IfcPlateType* in)
  4338. {
  4339. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4340. // this data structure is not used yet, so there is no code generated to fill its members
  4341. return base;
  4342. }
  4343. // -----------------------------------------------------------------------------------------------------------
  4344. template <> size_t GenericFill<IfcVibrationIsolatorType>(const DB& db, const LIST& params, IfcVibrationIsolatorType* in)
  4345. {
  4346. size_t base = GenericFill(db,params,static_cast<IfcDiscreteAccessoryType*>(in));
  4347. // this data structure is not used yet, so there is no code generated to fill its members
  4348. return base;
  4349. }
  4350. // -----------------------------------------------------------------------------------------------------------
  4351. template <> size_t GenericFill<IfcTrimmedCurve>(const DB& db, const LIST& params, IfcTrimmedCurve* in)
  4352. {
  4353. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  4354. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcTrimmedCurve"); } do { // convert the 'BasisCurve' argument
  4355. boost::shared_ptr<const DataType> arg = params[base++];
  4356. try { GenericConvert( in->BasisCurve, arg, db ); break; }
  4357. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcTrimmedCurve to be a `IfcCurve`")); }
  4358. } while(0);
  4359. do { // convert the 'Trim1' argument
  4360. boost::shared_ptr<const DataType> arg = params[base++];
  4361. try { GenericConvert( in->Trim1, arg, db ); break; }
  4362. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcTrimmedCurve to be a `SET [1:2] OF IfcTrimmingSelect`")); }
  4363. } while(0);
  4364. do { // convert the 'Trim2' argument
  4365. boost::shared_ptr<const DataType> arg = params[base++];
  4366. try { GenericConvert( in->Trim2, arg, db ); break; }
  4367. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcTrimmedCurve to be a `SET [1:2] OF IfcTrimmingSelect`")); }
  4368. } while(0);
  4369. do { // convert the 'SenseAgreement' argument
  4370. boost::shared_ptr<const DataType> arg = params[base++];
  4371. try { GenericConvert( in->SenseAgreement, arg, db ); break; }
  4372. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcTrimmedCurve to be a `BOOLEAN`")); }
  4373. } while(0);
  4374. do { // convert the 'MasterRepresentation' argument
  4375. boost::shared_ptr<const DataType> arg = params[base++];
  4376. try { GenericConvert( in->MasterRepresentation, arg, db ); break; }
  4377. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcTrimmedCurve to be a `IfcTrimmingPreference`")); }
  4378. } while(0);
  4379. return base;
  4380. }
  4381. // -----------------------------------------------------------------------------------------------------------
  4382. template <> size_t GenericFill<IfcMappedItem>(const DB& db, const LIST& params, IfcMappedItem* in)
  4383. {
  4384. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  4385. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcMappedItem"); } do { // convert the 'MappingSource' argument
  4386. boost::shared_ptr<const DataType> arg = params[base++];
  4387. try { GenericConvert( in->MappingSource, arg, db ); break; }
  4388. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcMappedItem to be a `IfcRepresentationMap`")); }
  4389. } while(0);
  4390. do { // convert the 'MappingTarget' argument
  4391. boost::shared_ptr<const DataType> arg = params[base++];
  4392. try { GenericConvert( in->MappingTarget, arg, db ); break; }
  4393. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcMappedItem to be a `IfcCartesianTransformationOperator`")); }
  4394. } while(0);
  4395. return base;
  4396. }
  4397. // -----------------------------------------------------------------------------------------------------------
  4398. template <> size_t GenericFill<IfcDirection>(const DB& db, const LIST& params, IfcDirection* in)
  4399. {
  4400. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4401. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcDirection"); } do { // convert the 'DirectionRatios' argument
  4402. boost::shared_ptr<const DataType> arg = params[base++];
  4403. try { GenericConvert( in->DirectionRatios, arg, db ); break; }
  4404. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcDirection to be a `LIST [2:3] OF REAL`")); }
  4405. } while(0);
  4406. return base;
  4407. }
  4408. // -----------------------------------------------------------------------------------------------------------
  4409. template <> size_t GenericFill<IfcBlock>(const DB& db, const LIST& params, IfcBlock* in)
  4410. {
  4411. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  4412. // this data structure is not used yet, so there is no code generated to fill its members
  4413. return base;
  4414. }
  4415. // -----------------------------------------------------------------------------------------------------------
  4416. template <> size_t GenericFill<IfcProjectOrderRecord>(const DB& db, const LIST& params, IfcProjectOrderRecord* in)
  4417. {
  4418. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4419. // this data structure is not used yet, so there is no code generated to fill its members
  4420. return base;
  4421. }
  4422. // -----------------------------------------------------------------------------------------------------------
  4423. template <> size_t GenericFill<IfcFlowMeterType>(const DB& db, const LIST& params, IfcFlowMeterType* in)
  4424. {
  4425. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  4426. // this data structure is not used yet, so there is no code generated to fill its members
  4427. return base;
  4428. }
  4429. // -----------------------------------------------------------------------------------------------------------
  4430. template <> size_t GenericFill<IfcControllerType>(const DB& db, const LIST& params, IfcControllerType* in)
  4431. {
  4432. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  4433. // this data structure is not used yet, so there is no code generated to fill its members
  4434. return base;
  4435. }
  4436. // -----------------------------------------------------------------------------------------------------------
  4437. template <> size_t GenericFill<IfcBeam>(const DB& db, const LIST& params, IfcBeam* in)
  4438. {
  4439. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4440. // this data structure is not used yet, so there is no code generated to fill its members
  4441. return base;
  4442. }
  4443. // -----------------------------------------------------------------------------------------------------------
  4444. template <> size_t GenericFill<IfcArbitraryOpenProfileDef>(const DB& db, const LIST& params, IfcArbitraryOpenProfileDef* in)
  4445. {
  4446. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  4447. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcArbitraryOpenProfileDef"); } do { // convert the 'Curve' argument
  4448. boost::shared_ptr<const DataType> arg = params[base++];
  4449. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcArbitraryOpenProfileDef,1>::aux_is_derived[0]=true; break; }
  4450. try { GenericConvert( in->Curve, arg, db ); break; }
  4451. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcArbitraryOpenProfileDef to be a `IfcBoundedCurve`")); }
  4452. } while(0);
  4453. return base;
  4454. }
  4455. // -----------------------------------------------------------------------------------------------------------
  4456. template <> size_t GenericFill<IfcCenterLineProfileDef>(const DB& db, const LIST& params, IfcCenterLineProfileDef* in)
  4457. {
  4458. size_t base = GenericFill(db,params,static_cast<IfcArbitraryOpenProfileDef*>(in));
  4459. // this data structure is not used yet, so there is no code generated to fill its members
  4460. return base;
  4461. }
  4462. // -----------------------------------------------------------------------------------------------------------
  4463. template <> size_t GenericFill<IfcTimeSeriesSchedule>(const DB& db, const LIST& params, IfcTimeSeriesSchedule* in)
  4464. {
  4465. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4466. // this data structure is not used yet, so there is no code generated to fill its members
  4467. return base;
  4468. }
  4469. // -----------------------------------------------------------------------------------------------------------
  4470. template <> size_t GenericFill<IfcRoundedEdgeFeature>(const DB& db, const LIST& params, IfcRoundedEdgeFeature* in)
  4471. {
  4472. size_t base = GenericFill(db,params,static_cast<IfcEdgeFeature*>(in));
  4473. // this data structure is not used yet, so there is no code generated to fill its members
  4474. return base;
  4475. }
  4476. // -----------------------------------------------------------------------------------------------------------
  4477. template <> size_t GenericFill<IfcIShapeProfileDef>(const DB& db, const LIST& params, IfcIShapeProfileDef* in)
  4478. {
  4479. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4480. // this data structure is not used yet, so there is no code generated to fill its members
  4481. return base;
  4482. }
  4483. // -----------------------------------------------------------------------------------------------------------
  4484. template <> size_t GenericFill<IfcSpaceHeaterType>(const DB& db, const LIST& params, IfcSpaceHeaterType* in)
  4485. {
  4486. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4487. // this data structure is not used yet, so there is no code generated to fill its members
  4488. return base;
  4489. }
  4490. // -----------------------------------------------------------------------------------------------------------
  4491. template <> size_t GenericFill<IfcFlowStorageDevice>(const DB& db, const LIST& params, IfcFlowStorageDevice* in)
  4492. {
  4493. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  4494. // this data structure is not used yet, so there is no code generated to fill its members
  4495. return base;
  4496. }
  4497. // -----------------------------------------------------------------------------------------------------------
  4498. template <> size_t GenericFill<IfcRevolvedAreaSolid>(const DB& db, const LIST& params, IfcRevolvedAreaSolid* in)
  4499. {
  4500. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  4501. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRevolvedAreaSolid"); } do { // convert the 'Axis' argument
  4502. boost::shared_ptr<const DataType> arg = params[base++];
  4503. try { GenericConvert( in->Axis, arg, db ); break; }
  4504. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRevolvedAreaSolid to be a `IfcAxis1Placement`")); }
  4505. } while(0);
  4506. do { // convert the 'Angle' argument
  4507. boost::shared_ptr<const DataType> arg = params[base++];
  4508. try { GenericConvert( in->Angle, arg, db ); break; }
  4509. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRevolvedAreaSolid to be a `IfcPlaneAngleMeasure`")); }
  4510. } while(0);
  4511. return base;
  4512. }
  4513. // -----------------------------------------------------------------------------------------------------------
  4514. template <> size_t GenericFill<IfcDoor>(const DB& db, const LIST& params, IfcDoor* in)
  4515. {
  4516. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4517. if (params.GetSize() < 10) { throw STEP::TypeError("expected 10 arguments to IfcDoor"); } do { // convert the 'OverallHeight' argument
  4518. boost::shared_ptr<const DataType> arg = params[base++];
  4519. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4520. try { GenericConvert( in->OverallHeight, arg, db ); break; }
  4521. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcDoor to be a `IfcPositiveLengthMeasure`")); }
  4522. } while(0);
  4523. do { // convert the 'OverallWidth' argument
  4524. boost::shared_ptr<const DataType> arg = params[base++];
  4525. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4526. try { GenericConvert( in->OverallWidth, arg, db ); break; }
  4527. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcDoor to be a `IfcPositiveLengthMeasure`")); }
  4528. } while(0);
  4529. return base;
  4530. }
  4531. // -----------------------------------------------------------------------------------------------------------
  4532. template <> size_t GenericFill<IfcEllipse>(const DB& db, const LIST& params, IfcEllipse* in)
  4533. {
  4534. size_t base = GenericFill(db,params,static_cast<IfcConic*>(in));
  4535. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcEllipse"); } do { // convert the 'SemiAxis1' argument
  4536. boost::shared_ptr<const DataType> arg = params[base++];
  4537. try { GenericConvert( in->SemiAxis1, arg, db ); break; }
  4538. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcEllipse to be a `IfcPositiveLengthMeasure`")); }
  4539. } while(0);
  4540. do { // convert the 'SemiAxis2' argument
  4541. boost::shared_ptr<const DataType> arg = params[base++];
  4542. try { GenericConvert( in->SemiAxis2, arg, db ); break; }
  4543. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcEllipse to be a `IfcPositiveLengthMeasure`")); }
  4544. } while(0);
  4545. return base;
  4546. }
  4547. // -----------------------------------------------------------------------------------------------------------
  4548. template <> size_t GenericFill<IfcTubeBundleType>(const DB& db, const LIST& params, IfcTubeBundleType* in)
  4549. {
  4550. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4551. // this data structure is not used yet, so there is no code generated to fill its members
  4552. return base;
  4553. }
  4554. // -----------------------------------------------------------------------------------------------------------
  4555. template <> size_t GenericFill<IfcAngularDimension>(const DB& db, const LIST& params, IfcAngularDimension* in)
  4556. {
  4557. size_t base = GenericFill(db,params,static_cast<IfcDimensionCurveDirectedCallout*>(in));
  4558. // this data structure is not used yet, so there is no code generated to fill its members
  4559. return base;
  4560. }
  4561. // -----------------------------------------------------------------------------------------------------------
  4562. template <> size_t GenericFill<IfcFaceBasedSurfaceModel>(const DB& db, const LIST& params, IfcFaceBasedSurfaceModel* in)
  4563. {
  4564. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4565. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcFaceBasedSurfaceModel"); } do { // convert the 'FbsmFaces' argument
  4566. boost::shared_ptr<const DataType> arg = params[base++];
  4567. try { GenericConvert( in->FbsmFaces, arg, db ); break; }
  4568. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFaceBasedSurfaceModel to be a `SET [1:?] OF IfcConnectedFaceSet`")); }
  4569. } while(0);
  4570. return base;
  4571. }
  4572. // -----------------------------------------------------------------------------------------------------------
  4573. template <> size_t GenericFill<IfcCraneRailFShapeProfileDef>(const DB& db, const LIST& params, IfcCraneRailFShapeProfileDef* in)
  4574. {
  4575. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4576. // this data structure is not used yet, so there is no code generated to fill its members
  4577. return base;
  4578. }
  4579. // -----------------------------------------------------------------------------------------------------------
  4580. template <> size_t GenericFill<IfcColumnType>(const DB& db, const LIST& params, IfcColumnType* in)
  4581. {
  4582. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4583. // this data structure is not used yet, so there is no code generated to fill its members
  4584. return base;
  4585. }
  4586. // -----------------------------------------------------------------------------------------------------------
  4587. template <> size_t GenericFill<IfcTShapeProfileDef>(const DB& db, const LIST& params, IfcTShapeProfileDef* in)
  4588. {
  4589. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4590. // this data structure is not used yet, so there is no code generated to fill its members
  4591. return base;
  4592. }
  4593. // -----------------------------------------------------------------------------------------------------------
  4594. template <> size_t GenericFill<IfcEnergyConversionDevice>(const DB& db, const LIST& params, IfcEnergyConversionDevice* in)
  4595. {
  4596. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  4597. // this data structure is not used yet, so there is no code generated to fill its members
  4598. return base;
  4599. }
  4600. // -----------------------------------------------------------------------------------------------------------
  4601. template <> size_t GenericFill<IfcWorkSchedule>(const DB& db, const LIST& params, IfcWorkSchedule* in)
  4602. {
  4603. size_t base = GenericFill(db,params,static_cast<IfcWorkControl*>(in));
  4604. // this data structure is not used yet, so there is no code generated to fill its members
  4605. return base;
  4606. }
  4607. // -----------------------------------------------------------------------------------------------------------
  4608. template <> size_t GenericFill<IfcZone>(const DB& db, const LIST& params, IfcZone* in)
  4609. {
  4610. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  4611. // this data structure is not used yet, so there is no code generated to fill its members
  4612. return base;
  4613. }
  4614. // -----------------------------------------------------------------------------------------------------------
  4615. template <> size_t GenericFill<IfcTransportElement>(const DB& db, const LIST& params, IfcTransportElement* in)
  4616. {
  4617. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  4618. // this data structure is not used yet, so there is no code generated to fill its members
  4619. return base;
  4620. }
  4621. // -----------------------------------------------------------------------------------------------------------
  4622. template <> size_t GenericFill<IfcGeometricRepresentationSubContext>(const DB& db, const LIST& params, IfcGeometricRepresentationSubContext* in)
  4623. {
  4624. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationContext*>(in));
  4625. // this data structure is not used yet, so there is no code generated to fill its members
  4626. return base;
  4627. }
  4628. // -----------------------------------------------------------------------------------------------------------
  4629. template <> size_t GenericFill<IfcLShapeProfileDef>(const DB& db, const LIST& params, IfcLShapeProfileDef* in)
  4630. {
  4631. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4632. // this data structure is not used yet, so there is no code generated to fill its members
  4633. return base;
  4634. }
  4635. // -----------------------------------------------------------------------------------------------------------
  4636. template <> size_t GenericFill<IfcGeometricCurveSet>(const DB& db, const LIST& params, IfcGeometricCurveSet* in)
  4637. {
  4638. size_t base = GenericFill(db,params,static_cast<IfcGeometricSet*>(in));
  4639. // this data structure is not used yet, so there is no code generated to fill its members
  4640. return base;
  4641. }
  4642. // -----------------------------------------------------------------------------------------------------------
  4643. template <> size_t GenericFill<IfcActor>(const DB& db, const LIST& params, IfcActor* in)
  4644. {
  4645. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  4646. // this data structure is not used yet, so there is no code generated to fill its members
  4647. return base;
  4648. }
  4649. // -----------------------------------------------------------------------------------------------------------
  4650. template <> size_t GenericFill<IfcOccupant>(const DB& db, const LIST& params, IfcOccupant* in)
  4651. {
  4652. size_t base = GenericFill(db,params,static_cast<IfcActor*>(in));
  4653. // this data structure is not used yet, so there is no code generated to fill its members
  4654. return base;
  4655. }
  4656. // -----------------------------------------------------------------------------------------------------------
  4657. template <> size_t GenericFill<IfcBooleanClippingResult>(const DB& db, const LIST& params, IfcBooleanClippingResult* in)
  4658. {
  4659. size_t base = GenericFill(db,params,static_cast<IfcBooleanResult*>(in));
  4660. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcBooleanClippingResult"); } return base;
  4661. }
  4662. // -----------------------------------------------------------------------------------------------------------
  4663. template <> size_t GenericFill<IfcAnnotationFillArea>(const DB& db, const LIST& params, IfcAnnotationFillArea* in)
  4664. {
  4665. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4666. // this data structure is not used yet, so there is no code generated to fill its members
  4667. return base;
  4668. }
  4669. // -----------------------------------------------------------------------------------------------------------
  4670. template <> size_t GenericFill<IfcLightSourceSpot>(const DB& db, const LIST& params, IfcLightSourceSpot* in)
  4671. {
  4672. size_t base = GenericFill(db,params,static_cast<IfcLightSourcePositional*>(in));
  4673. // this data structure is not used yet, so there is no code generated to fill its members
  4674. return base;
  4675. }
  4676. // -----------------------------------------------------------------------------------------------------------
  4677. template <> size_t GenericFill<IfcFireSuppressionTerminalType>(const DB& db, const LIST& params, IfcFireSuppressionTerminalType* in)
  4678. {
  4679. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4680. // this data structure is not used yet, so there is no code generated to fill its members
  4681. return base;
  4682. }
  4683. // -----------------------------------------------------------------------------------------------------------
  4684. template <> size_t GenericFill<IfcElectricGeneratorType>(const DB& db, const LIST& params, IfcElectricGeneratorType* in)
  4685. {
  4686. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4687. // this data structure is not used yet, so there is no code generated to fill its members
  4688. return base;
  4689. }
  4690. // -----------------------------------------------------------------------------------------------------------
  4691. template <> size_t GenericFill<IfcInventory>(const DB& db, const LIST& params, IfcInventory* in)
  4692. {
  4693. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  4694. // this data structure is not used yet, so there is no code generated to fill its members
  4695. return base;
  4696. }
  4697. // -----------------------------------------------------------------------------------------------------------
  4698. template <> size_t GenericFill<IfcPolyline>(const DB& db, const LIST& params, IfcPolyline* in)
  4699. {
  4700. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  4701. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPolyline"); } do { // convert the 'Points' argument
  4702. boost::shared_ptr<const DataType> arg = params[base++];
  4703. try { GenericConvert( in->Points, arg, db ); break; }
  4704. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPolyline to be a `LIST [2:?] OF IfcCartesianPoint`")); }
  4705. } while(0);
  4706. return base;
  4707. }
  4708. // -----------------------------------------------------------------------------------------------------------
  4709. template <> size_t GenericFill<IfcBoxedHalfSpace>(const DB& db, const LIST& params, IfcBoxedHalfSpace* in)
  4710. {
  4711. size_t base = GenericFill(db,params,static_cast<IfcHalfSpaceSolid*>(in));
  4712. // this data structure is not used yet, so there is no code generated to fill its members
  4713. return base;
  4714. }
  4715. // -----------------------------------------------------------------------------------------------------------
  4716. template <> size_t GenericFill<IfcAirTerminalType>(const DB& db, const LIST& params, IfcAirTerminalType* in)
  4717. {
  4718. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4719. // this data structure is not used yet, so there is no code generated to fill its members
  4720. return base;
  4721. }
  4722. // -----------------------------------------------------------------------------------------------------------
  4723. template <> size_t GenericFill<IfcDistributionPort>(const DB& db, const LIST& params, IfcDistributionPort* in)
  4724. {
  4725. size_t base = GenericFill(db,params,static_cast<IfcPort*>(in));
  4726. // this data structure is not used yet, so there is no code generated to fill its members
  4727. return base;
  4728. }
  4729. // -----------------------------------------------------------------------------------------------------------
  4730. template <> size_t GenericFill<IfcCostItem>(const DB& db, const LIST& params, IfcCostItem* in)
  4731. {
  4732. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4733. // this data structure is not used yet, so there is no code generated to fill its members
  4734. return base;
  4735. }
  4736. // -----------------------------------------------------------------------------------------------------------
  4737. template <> size_t GenericFill<IfcStructuredDimensionCallout>(const DB& db, const LIST& params, IfcStructuredDimensionCallout* in)
  4738. {
  4739. size_t base = GenericFill(db,params,static_cast<IfcDraughtingCallout*>(in));
  4740. // this data structure is not used yet, so there is no code generated to fill its members
  4741. return base;
  4742. }
  4743. // -----------------------------------------------------------------------------------------------------------
  4744. template <> size_t GenericFill<IfcStructuralResultGroup>(const DB& db, const LIST& params, IfcStructuralResultGroup* in)
  4745. {
  4746. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  4747. // this data structure is not used yet, so there is no code generated to fill its members
  4748. return base;
  4749. }
  4750. // -----------------------------------------------------------------------------------------------------------
  4751. template <> size_t GenericFill<IfcOrientedEdge>(const DB& db, const LIST& params, IfcOrientedEdge* in)
  4752. {
  4753. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  4754. // this data structure is not used yet, so there is no code generated to fill its members
  4755. return base;
  4756. }
  4757. // -----------------------------------------------------------------------------------------------------------
  4758. template <> size_t GenericFill<IfcCsgSolid>(const DB& db, const LIST& params, IfcCsgSolid* in)
  4759. {
  4760. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  4761. // this data structure is not used yet, so there is no code generated to fill its members
  4762. return base;
  4763. }
  4764. // -----------------------------------------------------------------------------------------------------------
  4765. template <> size_t GenericFill<IfcPlanarBox>(const DB& db, const LIST& params, IfcPlanarBox* in)
  4766. {
  4767. size_t base = GenericFill(db,params,static_cast<IfcPlanarExtent*>(in));
  4768. // this data structure is not used yet, so there is no code generated to fill its members
  4769. return base;
  4770. }
  4771. // -----------------------------------------------------------------------------------------------------------
  4772. template <> size_t GenericFill<IfcMaterialDefinitionRepresentation>(const DB& db, const LIST& params, IfcMaterialDefinitionRepresentation* in)
  4773. {
  4774. size_t base = GenericFill(db,params,static_cast<IfcProductRepresentation*>(in));
  4775. // this data structure is not used yet, so there is no code generated to fill its members
  4776. return base;
  4777. }
  4778. // -----------------------------------------------------------------------------------------------------------
  4779. template <> size_t GenericFill<IfcAsymmetricIShapeProfileDef>(const DB& db, const LIST& params, IfcAsymmetricIShapeProfileDef* in)
  4780. {
  4781. size_t base = GenericFill(db,params,static_cast<IfcIShapeProfileDef*>(in));
  4782. // this data structure is not used yet, so there is no code generated to fill its members
  4783. return base;
  4784. }
  4785. // -----------------------------------------------------------------------------------------------------------
  4786. template <> size_t GenericFill<IfcRepresentationMap>(const DB& db, const LIST& params, IfcRepresentationMap* in)
  4787. {
  4788. size_t base = 0;
  4789. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcRepresentationMap"); } do { // convert the 'MappingOrigin' argument
  4790. boost::shared_ptr<const DataType> arg = params[base++];
  4791. try { GenericConvert( in->MappingOrigin, arg, db ); break; }
  4792. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentationMap to be a `IfcAxis2Placement`")); }
  4793. } while(0);
  4794. do { // convert the 'MappedRepresentation' argument
  4795. boost::shared_ptr<const DataType> arg = params[base++];
  4796. try { GenericConvert( in->MappedRepresentation, arg, db ); break; }
  4797. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentationMap to be a `IfcRepresentation`")); }
  4798. } while(0);
  4799. return base;
  4800. }
  4801. } // ! STEP
  4802. } // ! Assimp
  4803. #endif