[YANGTOOLS-30] Implement 'length' Created: 30/Sep/13 Updated: 10/Apr/22 Resolved: 14/Nov/13 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Dana Kutenicsova | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 93 |
| Priority: | High |
| Description |
|
Implement 'length' statement for binary. |
| Comments |
| Comment by Robert Varga [ 05/Nov/13 ] |
|
Specifically, classes generated from a typedef based from the binary type should enforce the length requirement in their constructor. |
| Comment by Martin Vitez [ 14/Nov/13 ] |
|
Implemented length statement: Added static getLength method to classes generated from typedef statement: Added check for valid length to typedef constructors: |