Hide C-Code functions based on Function names
For know-how protection, C-Code functions can be specified as non-expandable for interactive models in EHANDBOOK-NAVIGATOR during EHANDBOOK Container generation.
To enable this feature, the command line option -globalViewFile (CB & UGG) that takes "path_to_jsonfile\name.json"
as argument is used. The JSON file specifies the list of functions to be hidden, see sample below.
The functions "add" and "subtract" are made non-expandable.
{
"CCode": {
"hideContents": [
{
"name": {
"exact": ["add","subtract"]
}
}
]
}
}
Example Output:
A sample file is available in the examples sub folder of the EHB-CB installation directory. (..\examples\configuration\GlobalView.json)
|