35
|
1 |
"{ Package: 'stx:goodies/monticello' }"
|
|
2 |
|
|
3 |
MCReader subclass:#MCSnapshotReader
|
|
4 |
instanceVariableNames:'definitions'
|
|
5 |
classVariableNames:''
|
|
6 |
poolDictionaries:''
|
682
|
7 |
category:'SCM-Monticello-Storing'
|
35
|
8 |
!
|
|
9 |
|
795
|
10 |
!MCSnapshotReader class methodsFor:'documentation'!
|
|
11 |
|
|
12 |
documentation
|
|
13 |
"
|
|
14 |
I'm useless and can be safely removed.
|
|
15 |
I'm only referenced in MCMczReader>>extractDefinitionsFrom: and it can be replaced by MCReader.
|
|
16 |
"
|
|
17 |
! !
|
35
|
18 |
|
|
19 |
!MCSnapshotReader class methodsFor:'as yet unclassified'!
|
|
20 |
|
|
21 |
snapshotFromStream: aStream
|
|
22 |
^ (self on: aStream) snapshot
|
|
23 |
! !
|
|
24 |
|
|
25 |
!MCSnapshotReader methodsFor:'as yet unclassified'!
|
|
26 |
|
|
27 |
definitions
|
|
28 |
definitions ifNil: [self loadDefinitions].
|
|
29 |
^ definitions
|
|
30 |
!
|
|
31 |
|
|
32 |
snapshot
|
|
33 |
^ MCSnapshot fromDefinitions: self definitions
|
|
34 |
! !
|
|
35 |
|
|
36 |
!MCSnapshotReader class methodsFor:'documentation'!
|
|
37 |
|
|
38 |
version
|
795
|
39 |
^ '$Header: /cvs/stx/stx/goodies/monticello/MCSnapshotReader.st,v 1.5 2013-05-15 12:03:46 cg Exp $'
|
207
|
40 |
!
|
|
41 |
|
|
42 |
version_CVS
|
795
|
43 |
^ '$Header: /cvs/stx/stx/goodies/monticello/MCSnapshotReader.st,v 1.5 2013-05-15 12:03:46 cg Exp $'
|
207
|
44 |
!
|
|
45 |
|
|
46 |
version_SVN
|
795
|
47 |
^ '$Id: MCSnapshotReader.st,v 1.5 2013-05-15 12:03:46 cg Exp $'
|
35
|
48 |
! !
|
795
|
49 |
|