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
layerinstance.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_LAYER_INSTANCE_H_
5 #define LAYOUT_MODEL_LAYER_INSTANCE_H_
6
7 #include <LayOutAPI/common.h>
8 #include <LayOutAPI/model/defs.h>
9
22 #ifdef __cplusplus
23 extern "C" {
24 #endif // __cplusplus
25
36 LO_RESULT LOLayerInstanceGetNumberOfEntities(
37 LOLayerInstanceRef layer_instance, size_t* number_of_entities);
38
51 LO_RESULT LOLayerInstanceGetEntityAtIndex(
52 LOLayerInstanceRef layer_instance, size_t index, LOEntityRef* entity);
53
66 LO_RESULT LOLayerInstanceGetIndexOfEntity(
67 LOLayerInstanceRef layer_instance, LOEntityRef entity, size_t* index);
68
79 LO_RESULT LOLayerInstanceGetEntities(
80 LOLayerInstanceRef layer_instance, LOEntityListRef entity_list);
81
97 LO_RESULT LOLayerInstanceReorderEntity(
98 LOLayerInstanceRef layer_instance, LOEntityRef entity, size_t index);
99
110 LO_RESULT LOLayerInstanceGetLayerDefinition(
111 LOLayerInstanceRef layer_instance, LOLayerRef* layer_definition);
112
113 #ifdef __cplusplus
114 } // end extern "C"
115 #endif // __cplusplus
116
117 #endif // LAYOUT_MODEL_LAYER_INSTANCE_H_