LayOut C API

- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
entitylist.h
Go to the documentation of this file.
1 // Copyright 2015 Trimble Navigation Ltd. All rights reserved.
2 // This file is intended for public distribution.
3
4 #ifndef LAYOUT_MODEL_ENTITY_LIST_H_
5 #define LAYOUT_MODEL_ENTITY_LIST_H_
6
7 #include <LayOutAPI/common.h>
8 #include <LayOutAPI/model/defs.h>
9
15 #ifdef __cplusplus
16 extern "C" {
17 #endif // __cplusplus
18
28 LO_RESULT LOEntityListCreate(LOEntityListRef* entity_list);
29
38 LO_RESULT LOEntityListRelease(LOEntityListRef* entity_list);
39
49 LO_RESULT LOEntityListAddEntity(LOEntityListRef entity_list, LOEntityRef entity);
50
60 LO_RESULT LOEntityListGetNumberOfEntities(LOEntityListRef entity_list, size_t* num_entities);
61
74 LO_RESULT LOEntityListGetEntityAtIndex(
75 LOEntityListRef entity_list, size_t index, LOEntityRef* entity);
76
107 LO_RESULT LOEntityListMoveToLayer(
108 LOEntityListRef entity_list, LOLayerRef layer, LOPageListRef pages);
109
110 #ifdef __cplusplus
111 } // end extern "C"
112 #endif // __cplusplus
113
114 #endif // LAYOUT_MODEL_ENTITY_LIST_H_