src/PropertyMacro.h

changeset 641
425b169a82aa
parent 630
42ec68fcad9e
equal deleted inserted replaced
640:d4dda62c6600 641:425b169a82aa
14 * 14 *
15 * You should have received a copy of the GNU General Public License 15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18 18
19 #ifndef LDFORGE_PROPERTY_H 19 #pragma once
20 #define LDFORGE_PROPERTY_H
21 20
22 // ============================================================================= 21 // =============================================================================
23 // 22 //
24 // Identifier names 23 // Identifier names
25 // 24 //
197 public: \ 196 public: \
198 inline int PROPERTY_COUNT_OPERATION(NAME)() const \ 197 inline int PROPERTY_COUNT_OPERATION(NAME)() const \
199 { \ 198 { \
200 return PROPERTY_GET_ACCESSOR (NAME)().size(); \ 199 return PROPERTY_GET_ACCESSOR (NAME)().size(); \
201 } 200 }
202
203 #endif // LDFORGE_PROPERTY_H

mercurial