[jira] [Updated] (IGNITE-11666) C++ : remove internal macro usages in the examples
[ https://issues.apache.org/jira/browse/IGNITE-11666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Sapego updated IGNITE-11666: - Issue Type: Improvement (was: Bug) > C++ : remove internal macro usages in the examples > -- > > Key: IGNITE-11666 > URL: https://issues.apache.org/jira/browse/IGNITE-11666 > Project: Ignite > Issue Type: Improvement > Components: examples, platforms >Reporter: Pavel Kuznetsov >Assignee: Igor Sapego >Priority: Major > Labels: c++, examples > Time Spent: 10m > Remaining Estimate: 0h > > Currently c++ examples are using internal macros. For example to specify how > to serialize/deserialize user's c++ structs. > {code:c++} > 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) > //... > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (IGNITE-11666) C++ : remove internal macro usages in the examples
[ https://issues.apache.org/jira/browse/IGNITE-11666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Kuznetsov updated IGNITE-11666: - Description: Currently c++ examples are using internal macros. For example to specify how to serialize/deserialize user's c++ structs. {code:c++} 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) //... {code} was: Currently c++ examples are using internal macros. For example to specify how to serialize/deserialize user's c++ structs. {code:c++ person.h} 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) //... {code} > C++ : remove internal macro usages in the examples > -- > > Key: IGNITE-11666 > URL: https://issues.apache.org/jira/browse/IGNITE-11666 > Project: Ignite > Issue Type: Bug > Components: examples, platforms >Reporter: Pavel Kuznetsov >Priority: Major > Labels: c++, examples > > Currently c++ examples are using internal macros. For example to specify how > to serialize/deserialize user's c++ structs. > {code:c++} > 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) > //... > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)