LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
page.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_PAGE_H_
5 #define LAYOUT_MODEL_PAGE_H_
6 
7 #include <LayOutAPI/common.h>
8 #include <LayOutAPI/model/defs.h>
9 
15 typedef enum {
21 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif // __cplusplus
30 
42 
53 LO_RESULT LOPageSetName(LOPageRef page, const char* name);
54 
64 LO_RESULT LOPageGetInPresentation(LOPageRef page, bool* in_presentation);
65 
74 LO_RESULT LOPageSetInPresentation(LOPageRef page, bool in_presentation);
75 
93  LOLayerRef layer_definition,
94  bool* visible);
95 
115  LOLayerRef layer_definition,
116  bool visible);
117 
136  size_t array_size,
137  LOLayerInstanceRef layer_instances[],
138  size_t* number_copied);
139 
156  size_t index,
157  LOLayerInstanceRef* layer_instance);
158 
169 LO_RESULT LOPageGetPageIndex(LOPageRef page, size_t* index);
170 
183  size_t* num_nonshared_entities);
184 
200  size_t index,
201  LOEntityRef* entity);
202 
216  LOEntityListRef entity_list);
217 
236  LOEntityIteratorRef* entity_iterator);
237 
256  LOEntityIteratorRef* entity_iterator);
257 
269 
270 #ifdef __cplusplus
271 } // end extern "C"
272 #endif // __cplusplus
273 
274 #endif // LAYOUT_MODEL_PAGE_H_