:orphan: .. index:: pair: enum; tapi_file_chunk_spec_kind .. _doxid-group__ts__tapi__file_1gac24bd8170a98eceaaefac1a31217eb05: enum tapi_file_chunk_spec_kind ============================== Overview ~~~~~~~~ The kind of a chunk in :ref:`tapi_file_chunk_spec `. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include enum tapi_file_chunk_spec_kind { :ref:`TAPI_FILE_CHUNK_SPEC_KIND_END`, :ref:`TAPI_FILE_CHUNK_SPEC_KIND_LITERAL`, :ref:`TAPI_FILE_CHUNK_SPEC_KIND_PATTERN`, :ref:`TAPI_FILE_CHUNK_SPEC_KIND_COMPOUND`, }; .. _details-group__ts__tapi__file_1gac24bd8170a98eceaaefac1a31217eb05: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ The kind of a chunk in :ref:`tapi_file_chunk_spec `. Enum Values ----------- .. index:: pair: enumvalue; TAPI_FILE_CHUNK_SPEC_KIND_END .. _doxid-group__ts__tapi__file_1ggac24bd8170a98eceaaefac1a31217eb05acdd23903e459bda68217144ee462dc54: .. ref-code-block:: cpp :class: doxyrest-title-code-block TAPI_FILE_CHUNK_SPEC_KIND_END The last chunk in the list. .. index:: pair: enumvalue; TAPI_FILE_CHUNK_SPEC_KIND_LITERAL .. _doxid-group__ts__tapi__file_1ggac24bd8170a98eceaaefac1a31217eb05abcf04b780ee87cb732e77d036942a6e9: .. ref-code-block:: cpp :class: doxyrest-title-code-block TAPI_FILE_CHUNK_SPEC_KIND_LITERAL The literal chunk: *spec* is treated as a literal sequence of characters. If *maxlen* is not zero, it is treated as the size of the string, otherwise *spec* must be zero-terminated. *minlen* may be used to specify the length of the chunk (see ``fitlen`` of :ref:`te_file_write_string() ` for the exact semantics). .. index:: pair: enumvalue; TAPI_FILE_CHUNK_SPEC_KIND_PATTERN .. _doxid-group__ts__tapi__file_1ggac24bd8170a98eceaaefac1a31217eb05ab0fc6c5ae6c5f6841bc1d07ffdb97148: .. ref-code-block:: cpp :class: doxyrest-title-code-block TAPI_FILE_CHUNK_SPEC_KIND_PATTERN The simple pattern chunk: *spec* is treated as a block pattern as in :ref:`te_compile_buf_pattern() `. *minlen* and *maxlen* are used to determine the length of the generated block as in :ref:`te_make_spec_buf() `. .. index:: pair: enumvalue; TAPI_FILE_CHUNK_SPEC_KIND_COMPOUND .. _doxid-group__ts__tapi__file_1ggac24bd8170a98eceaaefac1a31217eb05ac29e8e5fe86768b7cde3aa990a02f7d1: .. ref-code-block:: cpp :class: doxyrest-title-code-block TAPI_FILE_CHUNK_SPEC_KIND_COMPOUND The compound chunk: *nested* is a list of sub-chunks terminated by a :ref:`TAPI_FILE_CHUNK_SPEC_KIND_END `. *minlen* and *maxlen* are used to determine the number of times the list of sub-chunks is reused.