Skip to content

SDAI_DAObject_SDAI::IsInstanceOf, IsKindOf, GetInstanceTypeName #387

Open

Description

@I-Sokolov

Are not these function implemented or did I miss something?

unresolved external symbol "public: enum Boolean __cdecl SDAI_DAObject_SDAI::IsInstanceOf(char const *)const
unresolved external symbol "public: enum Boolean __cdecl SDAI_DAObject_SDAI::IsKindOf(char const *)const
unresolved external symbol "public: enum Boolean __cdecl SDAI_DAObject_SDAI::IsSDAIKindOf(char const *)const
unresolved external symbol "public: char * __cdecl SDAI_DAObject_SDAI::GetInstanceTypeName(void)const

Activity

  1. brlcad commented on Jun 17, 2021

    @brlcad
    Member

    As far as I can tell, they are indeed all not implemented. They are wrapped in SDAI_CPP_LATE_BINDING markers (though GetInstanceTypeName() looks to be reversed), so it's curious they'd show as unresolved symbols unless you've modified the sources or otherwise defined SDAI_CPP_LATE_BINDING.

    I don't know the history and would have to consult the spec for parts 22 and 23, but they appear to be part of a dynamic binding interface that is since handled in other ways (e.g., IsA() and EntityName()).

  2. brlcad commented on Jun 17, 2021

    @brlcad
    Member

    Without a specific requestor or spec reference indicating they're required, I'd be inclined to remove them from the code altogether as well as the other SDAI_CPP_LATE_BINDING mentions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions