Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11666

C++ : remove macro usages in the examples

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8
    • examples, platforms

    Description

      Currently c++ examples are using internal macros. For example to specify how to serialize/deserialize user's c++ structs.

       IGNITE_BINARY_TYPE_START(ignite::examples::Person)
      
                  typedef ignite::examples::Person Person;
      
                  IGNITE_BINARY_GET_TYPE_ID_AS_HASH(Person)
                  IGNITE_BINARY_GET_TYPE_NAME_AS_IS(Person)
                  IGNITE_BINARY_GET_FIELD_ID_AS_HASH
                  IGNITE_BINARY_IS_NULL_FALSE(Person)
                  IGNITE_BINARY_GET_NULL_DEFAULT_CTOR(Person)
        //...
      

      Attachments

        Activity

          People

            isapego Igor Sapego
            pkouznet Pavel Kuznetsov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m