MCSnapshotReader.st
author convert-repo
Tue, 28 May 2019 03:27:24 +0000
changeset 1097 180bdb478bc0
parent 795 defcba4fc7a7
permissions -rw-r--r--
update tags
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
35
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"{ Package: 'stx:goodies/monticello' }"
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
MCReader subclass:#MCSnapshotReader
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
	instanceVariableNames:'definitions'
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
	classVariableNames:''
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
	poolDictionaries:''
682
9257009d853f category change
Claus Gittinger <cg@exept.de>
parents: 313
diff changeset
     7
	category:'SCM-Monticello-Storing'
35
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
!
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
795
defcba4fc7a7 added: #documentation
Claus Gittinger <cg@exept.de>
parents: 682
diff changeset
    10
!MCSnapshotReader class methodsFor:'documentation'!
defcba4fc7a7 added: #documentation
Claus Gittinger <cg@exept.de>
parents: 682
diff changeset
    11
defcba4fc7a7 added: #documentation
Claus Gittinger <cg@exept.de>
parents: 682
diff changeset
    12
documentation
defcba4fc7a7 added: #documentation
Claus Gittinger <cg@exept.de>
parents: 682
diff changeset
    13
"
defcba4fc7a7 added: #documentation
Claus Gittinger <cg@exept.de>
parents: 682
diff changeset
    14
    I'm useless and can be safely removed. 
defcba4fc7a7 added: #documentation
Claus Gittinger <cg@exept.de>
parents: 682
diff changeset
    15
    I'm only referenced in MCMczReader>>extractDefinitionsFrom: and it can be replaced by MCReader.
defcba4fc7a7 added: #documentation
Claus Gittinger <cg@exept.de>
parents: 682
diff changeset
    16
"
defcba4fc7a7 added: #documentation
Claus Gittinger <cg@exept.de>
parents: 682
diff changeset
    17
! !
35
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
!MCSnapshotReader class methodsFor:'as yet unclassified'!
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
snapshotFromStream: aStream
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
	^ (self on: aStream) snapshot
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
! !
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
!MCSnapshotReader methodsFor:'as yet unclassified'!
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
definitions
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
	definitions ifNil: [self loadDefinitions].
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
	^ definitions
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
!
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
snapshot
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
	^ MCSnapshot fromDefinitions: self definitions
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
! !
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
!MCSnapshotReader class methodsFor:'documentation'!
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
version
795
defcba4fc7a7 added: #documentation
Claus Gittinger <cg@exept.de>
parents: 682
diff changeset
    39
    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCSnapshotReader.st,v 1.5 2013-05-15 12:03:46 cg Exp $'
207
83708c5fac2a added: #version_CVS
Claus Gittinger <cg@exept.de>
parents: 35
diff changeset
    40
!
83708c5fac2a added: #version_CVS
Claus Gittinger <cg@exept.de>
parents: 35
diff changeset
    41
83708c5fac2a added: #version_CVS
Claus Gittinger <cg@exept.de>
parents: 35
diff changeset
    42
version_CVS
795
defcba4fc7a7 added: #documentation
Claus Gittinger <cg@exept.de>
parents: 682
diff changeset
    43
    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCSnapshotReader.st,v 1.5 2013-05-15 12:03:46 cg Exp $'
207
83708c5fac2a added: #version_CVS
Claus Gittinger <cg@exept.de>
parents: 35
diff changeset
    44
!
83708c5fac2a added: #version_CVS
Claus Gittinger <cg@exept.de>
parents: 35
diff changeset
    45
83708c5fac2a added: #version_CVS
Claus Gittinger <cg@exept.de>
parents: 35
diff changeset
    46
version_SVN
795
defcba4fc7a7 added: #documentation
Claus Gittinger <cg@exept.de>
parents: 682
diff changeset
    47
    ^ '$Id: MCSnapshotReader.st,v 1.5 2013-05-15 12:03:46 cg Exp $'
35
2d464b2efb1d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
! !
795
defcba4fc7a7 added: #documentation
Claus Gittinger <cg@exept.de>
parents: 682
diff changeset
    49