summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkedTree.h
Commit message (Collapse)AuthorAgeFilesLines
* cmLinkedTree: Add Pop methodBrad King2015-11-251-0/+21
| | | | | | | Add a method to increment an iterator (follow the "up" pointer) to the previous level in the stack of scopes and free storage of the top of the stack if possible. This will allow short-lived scopes to be created and destroyed by matching Push/Pop pairs without accumulating storage.
* cmLinkedTree: Rename 'Extend' method to 'Push'Brad King2015-11-251-6/+6
| | | | | | Logically the method pushes a nested scope on top of a given scope because the "up" pointer sequence forms a stack independent of any other branches of the tree.
* cmState: Make it possible to order cmState::Snapshot.Stephen Kelly2015-08-231-0/+7
|
* cmLinkedTree: Add Clear API.Stephen Kelly2015-08-021-0/+6
|
* cmLinkedTree: Add operator* to the iterator.Stephen Kelly2015-07-041-0/+18
|
* cmState: Extract a cmLinkedTree container adaptor.Stephen Kelly2015-06-041-0/+164
This will be used to contain most of the content of the cmState in several different trees. Refer to the BuildsystemDirectory state from the SnapshotData state. Currently these trees have the same structure, but that will change when we have more snapshot types.