Skip to content

File constitution_uid_auto_register.h

FileList > builtin > constitution_uid_auto_register.h

Go to the source code of this file

  • #include <uipc/builtin/uid_register.h>
  • #include <uipc/common/list.h>

Namespaces

Type Name
namespace uipc
namespace builtin

Classes

Type Name
class ConstitutionUIDAutoRegister

Macros

Type Name
define REGISTER_CONSTITUTION_UIDS (...) REGISTER\_CONSTITUTION\_UIDS\_INTERNAL(\_\_COUNTER\_\_)
Register ConstitutionUIDs.
define REGISTER_CONSTITUTION_UIDS_INTERNAL (counter) /* multi line expression */

Macro Definition Documentation

define REGISTER_CONSTITUTION_UIDS

Register ConstitutionUIDs.

#define REGISTER_CONSTITUTION_UIDS (
    ...
) `REGISTER_CONSTITUTION_UIDS_INTERNAL(__COUNTER__)`

Example:

REGISTER_CONSTITUTION_UIDS()
{
    using namespace uipc::builtin;
    list<UIDInfo> uids;
    return uids;
}

define REGISTER_CONSTITUTION_UIDS_INTERNAL

#define REGISTER_CONSTITUTION_UIDS_INTERNAL (
    counter
) `/* multi line expression */`


The documentation for this class was generated from the following file include/uipc/builtin/constitution_uid_auto_register.h